Solved

Syncing folders automatically between Macs

Posted on 2013-06-23
10
608 Views
Last Modified: 2013-06-24
I have some folders on my MacBook that I'd like to sync automatically with my Mac, in both directions. I had thought about using Dropbox but I'd have to use subfolders of the Dropbox one and I don't want to do this. I had a look at ownCloud but as I have a 1&1 shared server it won't work there.

I looked at SyncMate and it does seem as if this would achieve what I wanted, bidirectional automatic synchronisation of selected folders. However someone has mentioned that on the Mac there is already rsync and that this is the 'gold standard' of synchronisation, and that bidirectional sync is certainly possible with it. I've read the manpages for rsync but they're above my head!

Can someone please suggest how I might set this up to achieve this bidirectional syncing. I'd prefer if possible for the synchronisation to be achieved automatically, as in Dropbox. My two Macs are on the same network, with my iMac connected to my router by cable and my MacBook connected by Wifi.
0
Comment
Question by:RobbieSnr
  • 5
  • 4
10 Comments
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39269526
I'm using BitTorrent sync at the moment http://labs.bittorrent.com/experiments/sync.html

It works flawlessly as long as you have unrestricted Internet acces (if BT is blocked by a firewall it obviously wouldn't work), it's secure encrypted transfer and syncs without having to do a thing. Best of all, it's free.
0
 

Author Comment

by:RobbieSnr
ID: 39269536
Thanks for the suggestion. I'll have a look at it later as I'd really like to use rsync if at all possible in view of what I've heard about it.
0
 
LVL 25

Assisted Solution

by:Zephyr ICT
Zephyr ICT earned 200 total points
ID: 39269553
Rsync sure is an option, there are gui's available for rsync if that makes you more comfortable. This gui allows for selecting folders: http://arrsync.sourceforge.net/
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 29

Accepted Solution

by:
serialband earned 300 total points
ID: 39269962
If you want automated syncing, it would be much easier for you to use something like syncmate, if you have no experience with the command line.

To do it with rsync on the command line, you just use the -u (update) option to skip copying the files that are newer on the destination.

You run this on the command line or set it in cron to run automatically.
rsync -auz ~/ Remote_System_Name_or_IP:./
0
 

Author Comment

by:RobbieSnr
ID: 39270830
Many thanks to both spravtek and serialband for their comments. I've now tested both of these and compared the results with the simple example of keeping the desktop in sync and here are my comments:
spravtek said:
Rsync sure is an option, there are gui's available for rsync if that makes you more comfortable. This gui allows for selecting folders: http://arrsync.sourceforge.net/
That's a nice gui but I had a couple of problems with it. If I added a new file to the desktop on the MacBook then it did add this to my iMac. However if I deleted a file there it didn't delete the corresponding file on the iMac but added it back again to the MacBook. I couldn't see where there was an option to correct this. Also it seemed that I had to start off the syncing every time, there didn't seem to be a way of running this automatically in the background.
serialband said:
If you want automated syncing, it would be much easier for you to use something like syncmate, if you have no experience with the command line.

I have used the command line a fair bit but I wanted the syncing to run automatically in the background. Having tried SyncMate again the Expert version allows this automatic syncing, and unlike arRsync if I delete a file on one Mac it deletes it on the other.

I wanted to use rsync because I was told it was the industry standard for syncing, and it was free. However one of my aims was for this syncing to be carried out automatically, and that is where SyncMate Expert, which is not free, scores (unless I'm missing something with arRsync). It could well be that SyncMate is based on rsync so that it is just as efficient but even if it isn't I'm not going to be syncing a lot of files so if it is a bit slower this is not a concern.

I have now tested SyncMate Expert more thoroughly and I'm going to go for this one unless spravtek has any comments to make on this. This may not be everyone's choice, particularly if they want a free version. I'll wait to see if either of you have any comments before allocating the points.
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39270842
Hi RobbieSnr,

If SyncMate works for you then no problem for me ... In the end it's your choice, I don't have anything to bring up against SyncMate, as I said previously, I switched to BT Sync because it gave me a lot of freedom, but then again, I'm only syncing 1 folder... So your mileage may vary.

Glad you found a tool that works for you.

Good luck!
0
 

Author Comment

by:RobbieSnr
ID: 39270873
Hi spravtek

I did have a look at BitTorrent. Unlike you I want to sync several different folders and I didn't like the fact that it seemed that these would all have to be in a shared folder for them to be synced, like Dropbox.
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39270880
Unlike you I want to sync several different folders and I didn't like the fact that it seemed that these would all have to be in a shared folder for them to be synced, like Dropbox.

I'm not quite sure I'm with you on that one... What do you mean with shared folder?

If you open the interface of the BT Sync tool, you can just add individual folders, each of these folders has their own "secret" used for encryption.

But maybe I misunderstood what you meant :-)
0
 

Author Comment

by:RobbieSnr
ID: 39270927
Hi spravtek

I didn't try out BT and I see I've not looked at the description of how it works closely enough. There was one point where it mentioned "the" shared folder and I assumed, incorrectly, that everything to be shared had to be put in that one folder.

Thanks for pointing out my error!
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39271029
No problem ... We're all here to help and learn :-)
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question