I would like a feature in rsync to exclude old files, say, by a specified number of days. Has anyone patched rsync at any time to provide this feature? Thanks John Oyler
On Mon, Nov 15, 2004 at 03:32:18PM -0000, John Oyler wrote:> I would like a feature in rsync to exclude old files, say, by a specified > number of days. > Has anyone patched rsync at any time to provide this feature?You could do something like this: find /blah -mtime +30 > /tmp/exclude.list.$$ rsync --exclude-from=/tmp/exclude.list.$$ danno -- dan pritts - systems administrator - internet2 734/352-4953 office 734/834-7224 mobile