Sync Two Folders
Tagged with: backup, command, Linux, rsync, sync
Sync two folders using rsync command
rsync -rogpav --delete /home/me /backup/folder
Sync two folders using rsync command
rsync -rogpav --delete /home/me /backup/folder
This entry was posted on Tuesday, March 18th, 2008 at 11:13 pm and is filed under Command Line, Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
I am Binny V A, a freelance Web Developer on the LAMP Platform. Open Source Geek.
June 25th, 2009 21:26
The folders will be sync just one way. The new files in backup/folder will be lost.
January 8th, 2010 15:02
‘-rogp’ is complete redundant to ‘-a’ which is basically a shortcut for ‘-rlptgoD’.