6

I would like to be able to sync source code and entire projects across multiple computers(3 to be precise). I have tried using git, but have never been able to get a hassle free experience, maybe because I've never put a lot of effort into it. So, what I want ideally is:

  • Ability to add a folder with all its subfolders to the 'sync' list. Basically once I add a folder for sync, it should automatically add all files and sync them on multiple computers, just like dropbox.
  • As little manual work as possible. I do not want to push multiple files and go through setup each time I create a new project.
  • Version control is not one of my concerns, but is welcome.

Now, if you suggest that I use git/svn, refer to my points above so as to show my how it is useful for me. Although I don't want to spend a lot of time doing the sync part, I will if it is worth the effort.

I dont think this matters, but I use Eclipse, Aptana and Visual Studio 2010.

8
  • 8
    Why not just use Dropbox? Commented May 24, 2012 at 18:43
  • 2
    Since you cannot have arbitrary folders in dropbox, only the ones contained inside "Dropbox" folder. Commented May 24, 2012 at 18:44
  • 2
    As @simont suggested, if you want dropbox, use dropbox. Git can do that as well with post receive hooks. Fabric can do that in push mode if you tune your SSH keys; and you can have something like Chef or Puppet pull the code for you periodically. Or even a cron job. Commented May 24, 2012 at 18:45
  • I was actually thinking that there is something out there, or maybe git has some feature that I'm oblivious to. So every time you have to sync code with git, you have to do it manually? Commented May 24, 2012 at 19:02
  • 1
    You can make a symlink into your dropbox folder from your arbitrary folder. Commented May 24, 2012 at 19:04

6 Answers 6

5

DirSync Pro might be a good solution, cross-platform and open source.

For a more bleeding edge software, you can give a try to SparkleShare.

Finally see this article on LifeHacker.

Sign up to request clarification or add additional context in comments.

2 Comments

I tried SparkleShare and it is definitely up to the mark. At the same time, it presents me with the same issue as dropbox. Only a particular folder is synced.
You can sync multiple folders with SparkleShare, see Config options
1

I had (nearly) the same situation. I ended up with a standard windows share on one (so called "master") computer and using the shared folders as network drive with "offline files".

Even if you are disconnected, you have the contents of your files available, if you are connected in same network than your "master" syncing is done automatically.

Conflicts are reported and must be resolved manually.

However, no versioning at all, and windows only.

Comments

1

Have you tried http://www.sugarsync.com

Its like dropbox but you can map any folder on one computer to any folder on another computer (or multiple computers). It's free but does not work on Linux, only Windows and Mac OS X.

1 Comment

Ah! almost what I was looking for, but not working on linux is a deal breaker!
1

You might want to check into the bi-directional synchronizer Unison

Comments

0

2022 Update

I am very happy with using mirror. Setup isn't too easy, but once it works, it is painless.

Comments

0

I am using Google Drive.

  1. Install Google Drive on all devices
  2. Move the projects that you want to auto-sync to a folder in your Google Drive.
  3. From your Google Drive disk on your computer, right-click on the folder in step 2, making it offline accessible

enter image description here

1 Comment

Google drive is pretty terrible for code syncing. I tried it for months, it locks files, makes a lot of unnecessary conflicts, and takes a lot of resources.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.