most recent updated files on destination
matt at mattmccutchen.net
Sat Aug 30 21:51:20 GMT 2008
On Sat, 2008-08-30 at 19:18 +0200, Tyler Durden wrote:
> I want to synchronize two local directories, but if in the destination
> directory there are some files that has most recent modified time than
> the source directory I want that the source old files than the
> destination will be updated. Is it possible?
You can use the -u option to avoid replacing destination files with
older source files, but you will need a second run in the reverse
direction to update the source files. You may prefer a two-way
synchronization tool such as Unison
( http://www.cis.upenn.edu/~bcpierce/unison/ ).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080830/b868b412/attachment.bin
More information about the rsync