Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some files and folders on a USB drive connected to my iMac...I would like to sync them with a folder on my do I do that?

Is there built-in functionality in Lion that allows me to do that, or do I have to use a 3rd party solution?

share|improve this question
When you say "Sync", exactly what behavior do you want to see? How do you want discrepancies resolved? – Daniel Jan 4 '12 at 3:05
I want to make sure both folders contain the same files (no duplicates). So if one folder has newer files and then it replaces the old ones in the other folder. Basically, they just transfer files that are newer - or the diffs of existing files. – marcamillion Jan 4 '12 at 4:31
And older files clobbered without prompting – Daniel Jan 4 '12 at 5:26
Not necessarily, @Daniel. Chronosync, for example, allows you to archive X versions of the older files for Y days. Handy if you decide you want an older version back. – james.garriss Jan 4 '13 at 13:50
Use a launch deamon to automatically start rsync when your USB is connected. – CousinCocaine May 21 '15 at 7:20

11 Answers 11

up vote 24 down vote accepted

arRsync is a free OS X GUI to the rsync command line utility. It will get you started on the path to rsync enlightenment. You can save common sync operations to recall them at a later time for easy rsync. And it supports the common rsync use case scenarios: push A to B but leave stuff that's in B but not A in place, push A to B and delete stuff that's in B but not in A, make A and B look the same (with a conflict report).

share|improve this answer
This works perfectly. Thanks! – marcamillion Jan 4 '12 at 22:43

If you are comfortable with the terminal, rsync is a great utility that will sync folders easily. Take a look at a tutorial here (the tutorial is on an "Everything Linux" website, but the rsync utility comes with both Linux and Mac OS X).

Example commands:

Copy/merge everything newer from SOURCE into DEST, do not delete anything:

rsync -va   /path/to/folder/SOURCE/  /path/to/folder/DEST/

Copy everything newer into DEST, and delete any items from DEST that don't exist in SOURCE:

rsync -va --delete   /path/to/folder/SOURCE/  /path/to/folder/DEST/

Be sure to include the trailing forward-slash / at the end of your folder paths.

A useful hint here is that you can drag folders into the Terminal window to have it insert the full path to that folder (or file), saving you lots of typing and typos.

share|improve this answer
Here's a nice hint on using Mac OS X's built-in rsync and Automator to make a GUI for this:… – Demis Jan 29 at 20:37

Another donationware is SyncTwoFolders:

This program synchronizes two folders. The oldest files will be replaced by the most recent, and in certain cases, some files will be removed. Use the help tags to familiarize yourself with the options. Be sure of what you are doing when you start a synchronization. If in doubt, do a Simulation. This will show you what will happen if you choose to synchronize, but no files will be replaced or removed.

share|improve this answer

I have had good luck with Chronosync for synching folders/Macs.

share|improve this answer
+1 I use it to sync Macs to my TimeCapsule. – james.garriss Jan 4 '13 at 13:56

SyncTwoFolders is a free great app that's very useful and handy for Mac users. I use this to sync my GoogleDrive and Dropbox folders. Here is the link to setup SyncTwoFolders.

Actually you can schedule a sync. You have to create as setting of your own for ex. "mysync' by clicking the '+' sign next to 'Last Settings' drop down and saving it. This 'mysync' will appear in your window to the right when you click the '*' button above the 'Synchronize' button.

At the bottom of that sliding schedule window you can set the time interval at which it can sync.

You need to keep the application running in the background for it do scheduled syncing.

share|improve this answer

Install Xcode from the App Store and use File Merge.

Then you can open both directories, and compare individual differences and pick which one is "correct" (even down to lines of text within a file), merging the results to a new directory or over the top of one of the two you're comparing.

(it should be available in Spotlight after you've installed Xcode, if not open Xcode and from the Xcode Menu it's under "Other Developer Tool)

share|improve this answer
Useful utility! Although a little bit cumbersome, nice that it shows all the changes before you merge. – Demis Jan 29 at 20:23

For a decent GUI based file synchronizer, check out File Synchronization (website found here) It is a low cost ($15) utility that has nice control over the sync process. GUI arrows give you a pretty good feel of what is going to happen, ensuring you use the tool properly and don't end up overwriting the wrong file. Nice tool.

share|improve this answer

Beyond Compare can do what you want,and it can also show difference between two folder which you can sync only choose one. Here is the steps: Open Beyond Compare,click Folder Compare,choose left folder,choose right folder,select all,right click,click Synchronise,click update both.Done.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Can you describe how Beyond Compare can be used to synchronize two folders? – patrix Sep 26 '15 at 9:20
I will describe. – cuthead Sep 26 '15 at 16:52

Free Dropbox account is great if you need to sync small amount of files with other devices too, but if you have many devices, you should either upgrade Dropbox or get Chronosync. I personally use both of these solutions, so all my Macs are basically in sync. :)

share|improve this answer

I use Beyond Compare for Mac. I used it before on Windows and it is very good with maximum control.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Dropbox is the answer. Simple. Multi-platform. Free.

Give it a go!

share|improve this answer
Dropbox syncs between machines not a USN drive and a folder – Mark Sep 19 '12 at 12:34

protected by patrix Jul 15 at 8:39

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.