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

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


& "C:\Users\makn\Downloads\mc.exe" ls uav-demo/cmlc-installation/6.2.0-szgz-arm/ | ForEach-Object {
    $item=($_.Split()[-1])
    Write-Host "start to download $item "
    & "C:\Users\makn\Downloads\mc.exe" get uav-demo/cmlc-installation/6.2.0-szgz-arm/$item "D:\Desktop\cmii\cmii\"

    Write-Host ""
}


