Dave Nebinger wrote:
> Unfortunately Allen I don't remember exactly what the script was or
> where I got it, but I think there's a reference to it in the Gentoo
> Wiki.
It is not that hard actually:
comm -13 <(ls /usr/portage/distfiles | sort | uniq) \
<(for i in $(emerge -pufv world 2>&1 | grep ^http | awk '{ print $1 }')
do
echo $(basename $i)
done | sort | uniq)
That will print the files you'll need to download. Note however that it will
only print the filenames. You'll have to add:
http://distfiles.gentoo.org/distfiles/
and perhaps -in some cases- other sources/servers as not everything is in
d.g.o
Regards
--
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
--
[email protected] mailing list