Hola, I've been looking but seem to come to a dead end. I'm trying to rsync an entire dir yet i only i want just what was created or changed in the past 7 days. I'm sure there is a way but i am just a bit unclear on the syntax that would make that happen. I would also like to delete on the client side what is over 14 days old but i think i can get that with a simple cron job. If anyone could shed some light i would be very appreciative. Thanks Edward
Paul Slootman
2004-Jul-02 12:40 UTC
Rsync * files only changed/created in the last 7 days .
On Thu 01 Jul 2004, Linux wrote:> > I'm trying to rsync an entire dir yet i only i want just what was > created or changed in the past 7 days. I'm sure there is a way but i am > just a bit unclear on the syntax that would make that happen.Use find -mtime -8 to generate the list, then use rsync with the --files-from option.> I would also like to delete on the client side what is over 14 days old > but i think i can get that with a simple cron job.Indeed... Paul Slootman