Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

My external hard drive trash won't empty

Hello everyone,

I have an external hard drive, whose Trash is impossible to empty. I grabbed a couple of screenshots to show you its contents and the related error messages when I try to delete everything.


User uploaded file

User uploaded file

It seems the external hard drive Trash folder contains both folders which are locked (such as the one I'm showing you above) and ghost files (I delete them, then they re-appear after a couple of seconds).


I tried every method listed here in the community (Force Empty Trash with Option key, using external apps as Trash It, trying to manually delete everything through Terminal), but nothing works. I always receive the same error messages.


I also tried to repair the hard drive through Disk Utility, but no errors are found on the disk. I don't know what to do anymore.


Is there anyone who has a clue on what to do in a situation like this to empty the Trash?


Thanks a lot to everyone.


<Image Edited by Host to Remove Personal Information>

Macbook Pro, Mac OS X (10.6), null

Posted on May 21, 2016 4:45 AM

Reply
Question marked as Best reply

Posted on Sep 22, 2017 8:56 PM

Here's is what I just did to get files/folders deleted from my external hard drive connected to my iMac, using terminal:


First, drag the external hard drive file/folder into the trash. It should now appear in 'Trash' when you open it up in a finder window.


Now, change directories in terminal to your external hard drive (cd space and then drag your connected external hard drive into terminal and that will complete the path). Confirm you have changed directories by simply typing the following in terminal:

ls


Next, type the following command in terminal and include a space after:

sudo rm -R


Finally, drag the file/folder from trash into terminal after the command above that you've just entered. the command will look something like the following (includes the path to your external hard drive 'trashes' even though the files appear to be in your computer 'trash'):


sudo rm -R /Volumes/nameOFyourEHD/.Trashes/501/nameOFyourFileOrFolder

You may or may not be asked for your administrator password due to using 'sudo'. Enter your password if prompted, obviously.

Terminal may sit there for a few seconds blinking or return a long string like: override rw-r--r--t


and ending with ?

I just held down return through all the long strings ending with ? until terminal was back at my proifle bash:

my computer: my computer profile$

If the file you dragged from trash into terminal isn't removed after a few minutes, whether you get long strings ending with ?, or not, close terminal and start from the beginning. (my new iMac is much quicker and a better machine for this than my 2010 macbook that sometimes doesn't respond as well, probably from my own user error(s)

In my case, I am deleting time machine backups so there's a lot, which takes some time and the external hard drive will need to stay connected to the computer during this time.

Several times now I have followed the steps above to delete external hard drive file/folder.

31 replies
Question marked as Best reply

Sep 22, 2017 8:56 PM in response to fabiocristi

Here's is what I just did to get files/folders deleted from my external hard drive connected to my iMac, using terminal:


First, drag the external hard drive file/folder into the trash. It should now appear in 'Trash' when you open it up in a finder window.


Now, change directories in terminal to your external hard drive (cd space and then drag your connected external hard drive into terminal and that will complete the path). Confirm you have changed directories by simply typing the following in terminal:

ls


Next, type the following command in terminal and include a space after:

sudo rm -R


Finally, drag the file/folder from trash into terminal after the command above that you've just entered. the command will look something like the following (includes the path to your external hard drive 'trashes' even though the files appear to be in your computer 'trash'):


sudo rm -R /Volumes/nameOFyourEHD/.Trashes/501/nameOFyourFileOrFolder

You may or may not be asked for your administrator password due to using 'sudo'. Enter your password if prompted, obviously.

Terminal may sit there for a few seconds blinking or return a long string like: override rw-r--r--t


and ending with ?

I just held down return through all the long strings ending with ? until terminal was back at my proifle bash:

my computer: my computer profile$

If the file you dragged from trash into terminal isn't removed after a few minutes, whether you get long strings ending with ?, or not, close terminal and start from the beginning. (my new iMac is much quicker and a better machine for this than my 2010 macbook that sometimes doesn't respond as well, probably from my own user error(s)

In my case, I am deleting time machine backups so there's a lot, which takes some time and the external hard drive will need to stay connected to the computer during this time.

Several times now I have followed the steps above to delete external hard drive file/folder.

My external hard drive trash won't empty

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.