most recent updated files on destination

Matt McCutchen matt at
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
( ).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url :

More information about the rsync mailing list