Very surprising behaviour with --files-from

Robin Lee Powell rlpowell at digitalkingdom.org
Fri Dec 10 15:05:00 MST 2010


On Fri, Dec 10, 2010 at 01:55:39PM -0800, Steven Levine wrote:
> In <20101210171139.GD27025 at digitalkingdom.org>, on 12/10/10
>    at 09:11 AM, Robin Lee Powell <rlpowell at digitalkingdom.org> said:
> 
> Hi,
> 
> After a quick testcase, I can see what's happenning.  You have
> 
> >$ rsync -i -aPv --ignore-existing --files-from=/tmp/list /backups/
> >ut00-s00010:/backups/ building file list ...
> >3937 files to consider
> 
> and
> 
> cpool/b/c/5/bc5ea7a79a4824c6729645c66b562e6b
> 
> Each subirectory counts as a file to consider.

Of course it does, but as I said in my original mail, there are only
4300 directories, and I've seen as much as 10 *million* additional
file checks.

It turns out it was considering each directory every time *for each
file*, because of the ordering of the files list; see my other mail.

-Robin

-- 
http://singinst.org/ :  Our last, best hope for a fantastic future.
Lojban (http://www.lojban.org/): The language in which "this parrot
is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/


More information about the rsync mailing list