SysTutorials Forums QA Synchronizing home directories

Any good tools to synchronize home directories on Linux boxes?

Many have several PC/laptops and consequently many home directories. There is home directory synchronizing problem.

unison is a good tool to do this:

Useful script:

$ unison -batch  -ui text ./ /mnt/homebak/zma/

In text user interface, synchronizing two directories in batch mode (without asking any question).

Synchronize two home directories over ssh:

Under your home directory:

$ unison -batch  -ui text ./ ssh://

Ignoring some directories:

$ unison -batch -ui text -ignore "Path {.cache,.config/google-chrome}" ./ ssh://

A more "practical" one with most of common not-to-sync directories:

$ unison 
-ui text -batch 
-ignore "Path {*/.git,*/Cache,.*/Cache,.cache,.config/google-chrome,Dropbox,.thunderbird/*/ImapMail/}" 
./  ssh://
Reply To: Synchronizing home directories
Your information:

<a href="" title="" rel="" target=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">

Please share if you like this post: