Synchronise documents folder between two machines
I would like to keep the documents and pictures folders of my MacMini and my MBA in synch. How can I do this?
MacBook Air, Mac OS X (10.7.3)
Want to highlight a helpful answer? Upvote!
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
I would like to keep the documents and pictures folders of my MacMini and my MBA in synch. How can I do this?
MacBook Air, Mac OS X (10.7.3)
If you are comfortable using command line, you can
use rsync which is already available in OSX. Just
Google rsync and you can find lots of references and
examples.
I personally use program called GoodSync that works quite
well.
You can sync folders using iCloud: http://osxdaily.com/2011/11/03/sync-files-between-macs-with-icloud/ although there are alternatives, such as Dropbox. It's best to give a few a try until you find the service that you like the most.
rsync --recursive --times --owner --progress --checksum --delete --dry-run --itemize-changes ~/ORG/ ~/BACKUP should do the job.
This will show what would be transfered (--dry-run and --itemize-changes) by synchronizing everything inside the ORG folder (notice the trailing forward-slash) recursively (--recursive) to the BACKUP folder by comparing files based on checksum (--checksum).
Remove the --checksum option if you want files to be synchronized--much faster--based on modification time and size.
Remove --dry-run for the actual transfer.
man rsync for more information.
Synchronise documents folder between two machines