-   Linux - Desktop (
-   -   Synchronizing directories (

kokoras63 10-20-2012 04:44 PM

Synchronizing directories
Hi to all,

I am new to Linux and I have a question:
I have some folders in linux (UBUNTU 12.04) and I want to always be in sync with under the same name folders in my external USB disk (something like a "local Dropbox". Since it holds a lot of data, that does not change all of it at the same time, I need a type of incremental solution.
Any ideas?

Thank you in advance for your time.

schneidz 10-20-2012 04:55 PM

i think this is what rsync is for. else, you can probably script something using find and cp.

seeberg 10-20-2012 06:32 PM

And if you would like a GUI to help you out have a look at backupninja

David the H. 10-21-2012 05:44 AM

I've always been partial to unison.

kokoras63 10-25-2012 04:31 AM

Re: Synchronizing directories
Thank you guys.
It seem that Unison is more close to what I want.
One question though. Does it create readable backups (ie copies) or some other format (compressed etc)
so they need to be restored to be read? For example after syncronization in Linux to an external USB hard disk, can I take afterwards the hard disk to a windows system and read the files from the regular windows file manager?

Thanx a lot.

David the H. 10-25-2012 01:32 PM

All unison does by default is ensure that the two directories have identical contents. Changes made in either directory are propagated to the other, and conflicts can be handled in a couple of different ways. There's also a system for backing up replaced files to a third location, I believe, but I haven't done anything with it personally.

It has an extensive documentation page, and I recommend taking the time to read it thoroughly.

kokoras63 10-28-2012 09:57 AM

Re: synchronizining directories
Thank you very much David for your clarifications

All the best,

All times are GMT -5. The time now is 04:49 AM.