Showing posts from January, 2016

Mirror Source folder to Destination folder in OSX

Use rsync.

rsync -avE --delete "source folder/" "destination folder/"
-a = Archive. Copy all attributes.
-v = Verbose
-E = Extended. Copy additional Mac attributes

man rsync to get more info.

The "/" at the end of the folder name is important as it will copy all files/folders within the source folder without creating the source folder itself.