Hi,

I saw this question on IRC the other day.

How many files a mirror has is displayed during scanning. The known number of 
files can be more quickly queried directly from the database, though. The 
following command does this:

echo "SELECT count(id) FROM filearr WHERE (SELECT id FROM server WHERE 
identifier LIKE 'ftp5.gwdg.de') = ANY(mirrors);" | mb db shell

Replace the mirror identifier with the name of the mirror you refer to.

Indeed, this should be a made a command in the mb tool. 

Peter
_______________________________________________
mirrorbrain mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain/

Note: To remove yourself from this mailing list, send a mail with the content
        unsubscribe
to the address mirrorbrain-requ...@mirrorbrain.org

Reply via email to