1 |
I'm no bash expert, but does anyone know what one would need to do to |
2 |
make this into a script? |
3 |
|
4 |
On Sat, 2003-07-26 at 09:42, Alec Berryman wrote: |
5 |
> This bash one-liner was posted to the forums; I can't find it now, so |
6 |
> apologies to the original author: |
7 |
> |
8 |
> 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/|') |
9 |
-- |
10 |
Chris Gianelloni |
11 |
Developer, Gentoo Linux |
12 |
|
13 |
|
14 |
-- |
15 |
gentoo-dev@g.o mailing list |