S P Arif Sahari Wibowo wrote:
> Hi!
> 
> Do you know any trick (scripts, combining rsync with other tools,
> etc.) to let rsync only delete the files with modification time
> before (older than) a certain date-time (can use the time of a file
> as a reference time)? 
> 
> It probably more difficult when we rsync out (for rsync in, the we can
> actually find out right away which files in that criteria using small
> Find::File perl script).
> 
> The idea is for a pair of sites that rsync each other (and use the
> --delete option). The old file only delete mechanism will reduce the
> possibily of a new file just added accidentally removed by the next
> rsync with --delete.
> 
> Maybe something to add to rsync itself? :-)

Sounds like unison would be more suitable than rsync here.


Max.

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to