rsync

 

 

rsync -arPv src/ 192.168.1.24:/usr/local/src/ --src directory

rsync -arPv src 192.168.1.24:/usr/local/src/ --src directory start
parameter description:
-a -- parameter, equivalent to -rlptgoD,
-r -- is recursive
-l -- is link file, meaning Copy the linked file
-i -- list the files in the rsync server
-p -- means keep the original permissions of the file
-t -- keep the original time of the file
-g -- keep the original user group of
the file -o -- keep the original file There is owner
-D --equivalent to block device file
-z --compression during transmission
-P --transmission progress
-v --transmission progress and other information, which is somewhat related to -P

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324854342&siteId=291194637