本文共 214 字,大约阅读时间需要 1 分钟。
man rsycn
rsync -avz /etc/hosts /tmp/ 等同于 cp -a /etc/hosts /tmp/
rsycn特点:可以增量,比对属性和内容没有变化的,则不同步
rsync -avz --delete /null/ /tmp/ #null有什么tmp就有什么,null没有的,也会把tmp下面的删掉,等同于rm
转载于:https://blog.51cto.com/11586819/2119820