linux下大量文件复制
rsync -avzh --progress /path/to/source/ /path/to/destination/
rsync -avzh /path/to/source/ /path/to/destination/ | pv -lep -s $(du -sb /path/to/source/ | awk '{print $1}') > /dev/null
rsync -aqxP
p保留权限
t保存时间
a递归
v详情
h可读的
x边界
q静默
通过ssh同步到其他电脑
rsync -avz -e ssh /path/to/local/directory username@remote_host:/path/to/remote/directory

浙公网安备 33010602011771号