Ok I was a bit quiet lately but that's only because I was vocal elsewhere 
(irc) ;)..

You can find attached a little script I wrote last night to get a count of 
files in $FILESDIR for packages to make sure they just are the few needed, as 
I'm moving the patches for packages which needs 2 or more patches every 
versions in patchset tarballs which get downloaded only when requested.

It's a probably-wrong, dirty, bad-looking bash script, but it works fine here.

It must run from a portage basedir (it should work also on a personal overlay 
anyway), and accepts two parameters: the first is the name of the category if 
you want to check just one, the other one is the minimum number of files to 
report, the default is 1, I usually make it 3.

Hope this can be useful.

-- 
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/

Attachment: countfiles.sh
Description: application/shellscript

Attachment: pgpDNT3Aqs8wm.pgp
Description: PGP signature

Reply via email to