下载安装
yum install -y libunwind
wget -O azcopy.tar.gz https://aka.ms/downloadazcopylinux64
tar -xf azcopy.tar.gz
./install.sh
例如
azcopy \
--source /root/avatar \
--destination https://test1111.blob.core.windows.net/static/img/user_avatar \
--dest-key yourkeyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy== \
--recursive
下载单个
azcopy \
--source https://myaccount.blob.core.chinacloudapi.cn/mycontainer/abc.txt \
--destination /mnt/myfiles/abc.txt \
--source-key <key>
单文件上传
azcopy \
--source /mnt/myfiles/abc.txt \
--destination https://myaccount.blob.core.chinacloudapi.cn/mycontainer/abc.txt \
--dest-key <key>