rsync -avrP -e "ssh -p36000" data.tar root@10.0.0.1:/data/salah
-a, --archive archive mode; same as -rlptgoD (no -H)
-v, --verbose increase verbosity
-r, --recursive recurse into directories
-P same as --partial --progress
-e, --rsh=COMMAND specify the remote shell to use
-l, --links copy symlinks as symlinks
-p, --perms preserve permissions
-t, --times preserve times
-g, --group preserve group
-o, --owner preserve owner (super-user only)
-D same as --devices --specials
--partial keep partially transferred files
--progress show progress during transfer
--devices preserve device files (super-user only)
--specials preserve special files
rsync -avP -e "ssh -p36000" data.tar root@10.0.0.1:/data/salah
rsync
最新推荐文章于 2024-09-07 16:37:12 发布