User Tools

Site Tools


copy_files_with_rsync

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

copy_files_with_rsync [2012/02/17 19:21] (current)
root created
Line 1: Line 1:
 +====== 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