Page 1 of 1

Rsync commands

Posted: Thu May 16, 2013 1:45 pm
by a24uall
Various rsync commands.

Check "/home/arun/rsync/1/" and "/home/arun/rsync/2/" and deletes any files in folder "2" which are not in "1".
rsync -vrlptD --delete /home/arun/rsync/1/ /home/arun/rsync/2/
Sample output below :
sending incremental file list
./
deleting 159
deleting 1586
deleting 158

sent 27 bytes received 15 bytes 84.00 bytes/sec
total size is 0 speedup is 0.00