On Sat, 2003-07-26 at 07:40, Stuart Herbert wrote: > Just a thought, as I'm still new around here, but is there any automatic > auditing to make sure that every single file in /distfiles is still required > by at least 1 ebuild? This bash one-liner was posted to the forums; I can't find it now, so apologies to the original author: bash <(comm -23 <(find /usr/portage/distfiles/ -maxdepth 1 -type f -printf %f\\n | sort) <(find /usr/portage/ /usr/local/portage/ -path '*/*/files/digest-*' -print0 | xargs -0 awk '{print $3}' | sort -u) | sed -e 's|^|rm -i /usr/portage/distfiles/|')