Tassie_Tux Posted October 31, 2014 Report Share Posted October 31, 2014 Does anyone have a shell command or script that will delete *.tar.foo files out of /usr/portage/distfiles with the exception of those that relate to currently merged packages? Such a command would be fantastic for recovering storage space while at the same time avoiding the repeated downloading of existing packages (for example, when a USE flag is changed). Link to comment Share on other sites More sharing options...
j-g- Posted October 31, 2014 Report Share Posted October 31, 2014 See eclean-dist --help , it has many useful options. Tassie_Tux 1 Link to comment Share on other sites More sharing options...
Tassie_Tux Posted October 31, 2014 Author Report Share Posted October 31, 2014 Perfect! Thanks. Link to comment Share on other sites More sharing options...
jmmc Posted October 31, 2014 Report Share Posted October 31, 2014 Hi, there's also this: http://www.funtoo.org/System_Administration_Practice Which has a section on just this topic (distfiles). Tassie_Tux 1 Link to comment Share on other sites More sharing options...
causes Posted October 31, 2014 Report Share Posted October 31, 2014 Does anyone have a shell command or script that will delete *.tar.foo files out of /usr/portage/distfiles with the exception of those that relate to currently merged packages? Such a command would be fantastic for recovering storage space while at the same time avoiding the repeated downloading of existing packages (for example, when a USE flag is changed). eclean -d distfiles Does the job for me. Link to comment Share on other sites More sharing options...
Recommended Posts