Jump to content

Shell command/script for cleaning out /usr/portage/distfiles


Tassie_Tux
 Share

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...