James wrote:
> Hello,
> 
> /usr is the only partion I seem to have trouble filling up. After
> poking around I've decided to 'prune' /usr/portage/distfiles.

There is a nice little script to remove all outdated distfiles, that is
all files that do not belong to any installed package. It has been
recommended on this list before and for me it works really great:

Just look at
http://evvl.rustedhalo.net/software/gentoo/
and the script distclean.

distclean v0.3

Usage: distclean [-h,--help] [-d,--delete] [-p,--pretend] [-m,--move dir]
                 [-q ,--quiet] --nospinner

        --help (-h short option)
                Shows this help screeen.

        --delete (-d short option)
                Deletes the outdated file(s) in the distfiles directory.

        --pretend (-p short option)
                Lists the outdated file(s) in the distfiles directory.

        --move dir (-m dir short option)
                Move the outdated file(s) to the given directory.

        --quiet (-q short option)
                Just list the outdated files, no extra junk.

        --nospinner
                Turns off the cute little spinner.


-- 

Andreas

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to