Long time needed for "Building file list" Any suggestions ?
Tim Conway
conway at us.ibm.com
Tue Mar 23 00:06:28 GMT 2004
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
conway at us.ibm.com
Jim Salter <jim at jrssystems.net>
Sent by: rsync-bounces+conway=us.ibm.com at lists.samba.org
03/22/2004 04:19 PM
To
rsync at lists.samba.org
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
More information about the rsync
mailing list