Jump to content

Check what's holding up trash


Recommended Posts

You know when you go to empty trash, and it says that there's a file you're trying to delete which is in use. Sometimes, that's fine because it's a document you've inadvertently trashed. Other times, it's down to the vagaries of, say, Mail where you've just attached it to a sent message like a screengrab to send to a tech support, and you no longer need the file.

 

This workflow runs through the trash, and lists which files are being used and by what application. You can then either force empty via a command, or go back and quit the apps, then you can empty trash in the dock.

 

NB - You'll need to add your password into the workflow script where the variable 'thepass' is declared to make the force empty trash command work.

 

 

 

 

 

Link to comment

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
×
×
  • Create New...