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

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


& "C:\Users\wddsh\Downloads\mc.exe" ls uav-demo/cmlc-installation/cmii_uas_23_tmp/ | ForEach-Object {
    $item=($_.Split()[-1])
    Write-Host "start to download $item "
    & "C:\Users\wddsh\Downloads\mc.exe" get uav-demo/cmlc-installation/cmii_uas_23_tmp/$item "D:\CmiiDeployOffline\cmii_uas_23\"

    Write-Host ""
}


