[ltp] Syncing from TP HDD to USB key
Andreas Stemmer
linux-thinkpad@linux-thinkpad.org
Tue, 18 Oct 2005 14:28:45 +0200
Bob Alexander wrote:
> I would like to perform a bi-directional syncing of the contents of my
> USB key with a given directory (in which I could be giving the command
> line command) with the aim of copying files between the key to the hard
> disk only where NEWER versions of existing files are to be found.
>
> (...)
>
> Any ideas on the simpler but dependable way of doing this ? An
> interaction for confirmation would be useful especially if squelchable.
Not exactly what you wanted but perhaps a step in the right direction:
Unison ( http://www.cis.upenn.edu/~bcpierce/unison/index.html ) has got
an option for listing the new files first and the changed files
afterwards (--sortnewfirst)
Andreas