413 bytes added
, 11:12, 30 July 2015
== Create backups ==
rsync -av --delete /Directory1/ /Directory2/
The code above will synchronize the contents of Directory1 to Directory2, and leave no differences between the two. <br />
If rsync finds that Directory2 has a file that Directory1 does not, it will delete it. <br />
If rsync finds a file that has been changed, created, or deleted in Directory1, it will reflect those same changes to Directory2.