User Tools

Site Tools


copy_files_with_rsync

Copy with rsync

rsync can be used for both local and remote file transfer.

Local rsync

This example will copy the file testfile to the /tmp folder. If the transfer is interrupted transfer will be resumed if command is applied again.

rsync -haP --append testfile /tmp/

-h output numbers in a human-readable format
-a archive mode; equals -rlptgoD
-P = --progres --partial
Where
--progress show progress during transfer
--partial keep partially transferred files
copy_files_with_rsync.txt · Last modified: 2012/02/17 19:21 by root