Sync Two Folders

Tagged with: , , , ,

Sync two folders using rsync command


rsync -rogpav --delete /home/me /backup/folder

2 Responses to “Sync Two Folders

  • 1
    Cristian
    June 25th, 2009 21:26

    The folders will be sync just one way. The new files in backup/folder will be lost.

  • 2
    Ford Prefect
    January 8th, 2010 15:02

    ‘-rogp’ is complete redundant to ‘-a’ which is basically a shortcut for ‘-rlptgoD’.

Leave a Reply