Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 93569

Summary: distclean.sh: Clean out distfiles that are not referenced by any installed packages.
Product: Gentoo Linux Reporter: Mark Rosenstand <mark>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED WONTFIX    
Severity: normal CC: radek
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
URL: http://borkware.net/~mark/distclean.sh
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: distclean.sh (rev. 1.4)

Description Mark Rosenstand 2005-05-22 09:15:15 UTC
This little script deletes all unreferenced distfiles (like portsclean -DD does on FreeBSD, and apt-get clean (I think) on Debian GNU/Linux). Feel free to include it in gentoolkit or whatever.
Comment 1 Mark Rosenstand 2005-05-22 09:16:19 UTC
Created attachment 59549 [details]
distclean.sh (rev. 1.4)

Initial public "release".
Comment 2 Mark Rosenstand 2005-07-16 14:58:50 UTC
There's a python implementation that works the same and is much faster. Check it
out: http://www.stacken.kth.se/~foo/gentoo/files/distclean-0.2.py