
# https://dl.min.io/client/mc/release/windows-amd64/mc.exe

C:\Users\86188\Downloads\mc.exe alias set uav-demo  https://oss.demo.uavcmlc.com cmii B#923fC7mk


C:\Users\86188\Downloads\mc.exe ls uav-demo/cmlc-installation/middle/ | ForEach-Object {
    $item=($_.Split()[-1])
    Write-Host "start to download $item "
    C:\Users\86188\Downloads\mc.exe get uav-demo/cmlc-installation/middle/$item "C:\Users\86188\Documents\cmii\middle\"

    Write-Host ""
}

C:\Users\86188\Downloads\mc.exe ls uav-demo/cmlc-installation/rke/ | ForEach-Object {
    $item=($_.Split()[-1])
    Write-Host "start to download $item "
    C:\Users\86188\Downloads\mc.exe get uav-demo/cmlc-installation/rke/$item "C:\Users\86188\Documents\cmii\rke\"

    Write-Host ""
}

C:\Users\86188\Downloads\mc.exe rm uav-demo/cmlc-installation/middle/harbor-offline-installer-v2.3.1.tgz
C:\Users\86188\Downloads\mc.exe rm uav-demo/cmlc-installation/middle/harbor-offline-installer-v2.9.1.tgz


