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
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to