Hello,

Here is one-liner which can be helpful if you want to trim down your gentoo
installation, particulary /usr/portage directory and/or lower emerge --sync times / save bandwidth (requires app-portage/portage-utils):

(echo -e "+ profiles**\n+ eclass**\n+ metadata*\n+ metadata/cache*\n+ metadata/dtd**\n+ metadata/glsa**\n+ metadata/news**\n+ scripts**"; for f in `qlist -IC | cut -f1 -d'/' | sort | uniq | sort`; do echo "+ $f**"; echo "+ metadata/cache/$f**"; done; echo "- */") > /etc/portage/rsync_excludes

you need also to add this line to make.conf

PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"

Regards,
Tomek
-- [email protected] mailing list

Reply via email to