Jump to content
Sign in to follow this  
theboyler

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.

 

 

 

 

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  
×
×
  • Create New...