--delete switch with date stamp (eg mtime)
phil at chu.com.au
Mon Dec 12 02:55:29 GMT 2005
Is it possible to use the "--delete" switch with a date stamp eg mtime?
I want to delete files in the dest dir but only if they are older than a
certain date. I can't see a way of doing this with an rsync command
itself - I would have to do a find first and pipe the results to rsync
(which I am trying to avoid).
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
E-mail: phil at chu.com.au
More information about the rsync