Usually this folder is located in /usr/portage/distfiles, but i moved it ;)
The script will delete every file, that has not been accessed in 90 days,
without deleting my wifi-driver (ipw3945).
#!/bin/bash for i in \ `find /usr/distfiles -maxdepth 1 -atime +90 \ | grep -Ev "/usr/distfiles/\..*" \ | grep -v "ipw3945"` \ ; do if [ -f $i ]; then rm $i; fi done