Trash won't empty deleted time machine backups

I manually deleted my time machine backups and they won't empty from my trash... I tried deleting it from Terminal but it always says no such file or directory.


When I try to delete them manually from Trash it says: "There are some locked items in the Trash. Do you want to remove all the items, including the locked ones, or just the unlocked items?" to which I said delete all, and nothing happens.


This is what it looks like on Terminal:


Last login: Tue Aug 20 15:29:28 on ttys000

Katies-MacBook-Pro:~ katie$ cd /Volumes/"Time Machine Backups"/

-bash: cd: /Volumes/Time Machine Backups/: No such file or directory

Katies-MacBook-Pro:~ katie$ sudo rm -rf .Trashes



WARNING: Improper use of the sudo command could lead to data loss

or the deletion of important system files. Please double-check your

typing when using sudo. Type "man sudo" for more information.



To proceed, enter your password, or type Ctrl-C to abort.



Password:

Katies-MacBook-Pro:~ katie$



Nothing was changed on my macbook. My external drive is plugged into my macbook and I've tried disk utility cleaning and repairing the disks and such but nothing will work. They are taking up about 1GB on my drive and it's more annoying than anything but if it happens again I want to know how to solve it. Please help!

MacBook Pro, OS X Mountain Lion (10.8.4)

Posted on Aug 20, 2013 12:56 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 22, 2017 11:53 PM

Connect your external drive to your Mac. Go to Utilities in the applications window and open the Terminal app. You will see a non-flashing cursor.

Type this exact text: sudo rm -rf /Volumes/"the name of your external drive"/.Trashes/501/Backups.backupdb

Then hit Return

Type your admin password (it will not show so make sure you type correctly)

Hit Return


-trash should empty-

70 replies

Aug 5, 2014 3:05 AM in response to Community User

The suggestion by smo0F worked very well.


The files that i had deleted from Time Machine were in my trashes and 'locked'.

Having opened up terminal in applications>utilities>terminal i then wrote the code suggested by smo0f as sudo chflags -R nouchg.

I then opened up my trash can by clicking it and then hit ctrl-A to highlight all the files as each one has a separate folder name.

I then dragged the highlighted folders (making sure they were all the ones from the time machine) in to the terminal after the sudo code.

Loads of text flowed on the terminal and then I hit return.

There was no success message, but then I went back to the trash folder that was open to empty trash using the cmd+shift+delete and it cleared it....so relieved.


All those folders in the trash were like a cloud above my head, like we all haven't got enough stuff to do


Huge thanks to all who contributed!

G

Sep 27, 2014 8:16 PM in response to Community User

Thank you for this thread. I made the mistake of offering to add my husband's iMac to the TM backups - not enough space on the 1TB Time Capsule. I thought I would 'force' space by deleting unneeded earlier TM backups.


Mistake #1: Sooooo I found advice to delete TM backups using Finder & dragging the backups to trash. That was terrific until I tried to delete these backup date folders from trash.

Fixing my Mistake #1: I have exhausted all the option key / combination option key / approaches suggested in this & other threads (thank you so much for the ideas!). Although I am not a programmer, I am trying the terminal approach you suggested - I ran into the confusion (also mentioned on this thread) that the password requested does not echo to the screen. Right now in Terminal I have pointed the 'sudo-rm -rf/' command to 1 of the backup folders by using the 'getinfo' file address. Terminal has been running for well over 1 hour - listing every file in that folder - as each file is loaded it ends with 'Permission denied'. Once the entire run goes through I will try the 2nd step to see if I have more luck after running the 'sudo-chflags -R nouchg' command.


If anything in my approach appears out of whack, please let me know. I will post as the steps unfold.

Oct 3, 2014 4:54 PM in response to Gail J

Still working on this project. I have now put my trash files through the terminal command as:

gails-mbp:~ Gail$ sudo chflags -R nouchg /Volumes/Time\ Machine\ Backups/.Trashes/501/2013-09-29-231043


x2. It is still running since last night - the way I know this is when I try to cancel it I get a window asking me to confirm - otherwise there is no indicator. I have 12 TM backup folders in my trash that I am working on getting rid of. After I completed the sudo chflags command noted above, I have tried both the terminal approach with command rm -rf & dragging in the folders + I tried emptying trash directly by 1st doing a command & A to highlight all the folders & then holding option+command+shift+delete. The counters for files to be deleted has ranged from 25K - 66K (it goes up each time). None of the steps has been successful - strangely, the folders disappear for a couple of hours and have reappeared.


This has tied up a stunning amount of time & cycles making my current TM backups very slow. I am regularly rebooting / restarting. I have not yet tried safe mode as I need to get all the steps written down before I do it & I am not a programmer so I get very nervous doing steps like that. Next stop is the Genius Bar...


btw... I deeply appreciate this thread & the folks that have provided helpful advice. I have not yet been successful personally but have been buoyed up by the reports of others who have!

Oct 10, 2014 5:38 AM in response to Community User

Thanks. I deleted a time machine backup and started emptying the trash when I came across this problem. I could neither empty the trash or put the files back (an error along the lines of "some files could not be found" after the botched attempt at emptying the trash.) In the end after running the chflags command you gave I was finally able to sudo rm -rf the folders away. Phew. I owe you one.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Trash won't empty deleted time machine backups

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