--- /dev/null
+#!/bin/bash
+
+set -e
+set -n
+
+cd /usr/portage/distfiles || exit 6
+
+if [[ ! -d .old ]] ; then
+ mkdir -p .old
+fi
+
+mv -vi *.bz2 \
+ *.gz \
+ *.xz \
+ *.lzma \
+ *.Z \
+ *.zip \
+ *.tar \
+ *.tgz \
+ *.tbz2 \
+ *.tar.gz.* \
+ *.jar \
+ *.patch \
+ *.rpm \
+ *.deb \
+ *.gem \
+ *.txt \
+ *.ps \
+ *.pdf \
+ *.html \
+ *.dtd \
+ *.oxt \
+ *.png \
+ *.xpi \
+ *.svg \
+ *.exe \
+ *.bin \
+ *.iso \
+ *.wsz \
+ *.wz \
+ patch.* \
+ rescan-scsi-bus.* \
+ bash* \
+ Geo* \
+ code2color \
+ *.support \
+ openssl* \
+ readline* \
+ rfc* \
+ .old/
+
+
+# vim: ts=4 et sw=4