Showing posts with label rsync. Show all posts
Showing posts with label rsync. Show all posts

Thursday, November 21, 2013

use rsync to sync a folder

rsync -r --progress --delete SOURCE DESTINATION

r: recursive

-progress: show prgress
-delete: If a file is not present at the source, but present at the target, this option deletes the file at the target during rsync.