Long time needed for "Building file list" Any suggestions ?

Jim Salter jim at jrssystems.net
Tue Mar 23 01:16:29 GMT 2004


But why would you want to use rsync if you've already built your file 
list?  Seems kinda pointless... I mean if it got touched, you definitely 
want to copy it, so, yeah. =)

Jim Salter

> 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