Good idea
find / -ctime -1h |rsync -a --files-from=- / destination
No perl needed.  You might want mtime instead, though.

Tim Conway
Unix System Administration
Contractor - IBM Global Services
desk:3032734776
[EMAIL PROTECTED]




Jim Salter <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
03/22/2004 04:19 PM

To
[EMAIL PROTECTED]
cc

Subject
Re: Long time needed for "Building file list" Any suggestions ?






> This does bring up one point though. Is there any way to optimize file
> list building? It seems like that turns into a huge bottleneck in the
> "lots of files" situation.

If you already know you're working with a mirror on the other end, and 
you know when your last sync was, and you're a moderately decent Perl 
hacker, you can pretty easily hack together a script that will take the 
output of something like

find / -ctime -1h



-- 
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