Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Any Synctoy like software that supports scheduling and multiple folders selection? I need to synchronize One folder which consists of subfolders from multiple locations. Also changes should be 2 way, meaning file deleted from one location should be deleted in other and should not follow source and destination analogy of rsync.

share|improve this question
    
I haven't yet found a solution that deals with moves/renames like SyncToy does. –  htorque Jan 23 '12 at 20:37
    
git handles renames pretty well; there are some git-based sync applications (git-annex looks particularly interesting), though most require a bit of understanding of git. –  unhammer Jan 24 '12 at 7:27

3 Answers 3

up vote 3 down vote accepted

Pratik is not 100 % correct; Unison does have a nice GUI: Unison GUI

It can be helpful in getting you started.

However, it is also possible to run from the command line, which makes it easy to put in a cron job, so that you can schedule it to run every 15 minutes or whatever you want. You'll typically create a profile with a certain name, you can do this in the GUI, but then you can run that profile from the commandline like

unison -batch name_of_your_profile

This is useful since you can then make a cronjob out of it. Type crontab -e, then paste in the line

*/15 * * * *      /usr/bin/unison -batch name_of_your_profile   &> /tmp/unison-cron.log

and exit the editor. Your unison command will now run every 15 minutes, and output any errors to the file /tmp/unison-cron.log.

Actually, it seems like there's even a GUI for cron, Gnome Schedule(friendly intro to it here). Never tried it, but I guess it makes running Unison from cron even more user-friendly …

See also the Ubuntu wiki page on Unison.

Unison is quite powerful, I've used it for a long time to sync stuff between two laptops, a desktop and a remote server … It's quite good at ensuring you get the newest and correct content, and if there's a conflict it's easy to merge. It's not a backup tool, though; if you delete everything on one end, you'll find it deleted on the other end too ;-)

share|improve this answer
    
Thanks a lot, I'll try and get back to you soon. :) –  Electrifyings Jan 22 '12 at 18:21
    
Did exactly whatever you told me to do and it worked. Thanks for understanding the question correctly and helping me out solving the tedious task of syncing the files. I really appreciate your help and I don't know how to thank you. :) –  Electrifyings Jan 23 '12 at 11:26
    
no problem, glad to be of help :) –  unhammer Jan 24 '12 at 7:22

Lots of options... Many use rsync, as described here: http://www.psychocats.net/ubuntu/backup

I like the graphical version Grsync as described here: http://www.linuxloop.com/2009/04/21/how-to-pain-free-backups-with-grsync-and-gnome-schedule/

Make sure to read the comments regarding scheduling...

share|improve this answer
    
+1 for Grsync - best option I've found so far. –  radek Jan 22 '12 at 19:05

Have you tried unison and cron together? unison does the two way syncing. cron does the scheduling. These are command line tools, not GUI applications.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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