linux command -rsync

rsync 常用命令
rsync  -avz    root@remoteserver:/temp/   /local/server/  #cp all the content of temp from remoteserver to localserver

rsync  -avz   --exclude=/temp/logs  --exclude=/temp/data  root@remoteserver:/temp/   /local/server/ #/temp/logs or /temp/logs will not be transfered

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326942666&siteId=291194637