View Results Loading ... This is a bit tricky because if you have thousands of files and there are only a few that are locked, then it's hard to find them. Advanced: Forcibly Emptying the Trash via Command Line This is a last resort and intended only for advanced users. Still nothing? http://brrian.net/empty-trash/unable-to-empty-trash-on-mac-lion.html
This FAQ, derived from our book Troubleshooting Mac OS X, covers the following Trash-related topics: About the Trash in Mac OS X: a brief overview of the Trash architecture. Type your Admin password when prompted, then press Return. 6. The sudo command returned an error in terminal. Securely Delete Trash If you still cannot empty the trash, you can try to securely delete the trash. https://support.apple.com/en-us/HT201583
If the name of the volume contains any special ASCII characters, such as a bullet or trademark character, temporarily rename the volume so that it does not contain these characters. should be used when: You can't get rid of trash items manually. If you can't empty your Mac's Trash, try some of these techniques to get rid of those nasty errors and clear out the junk. download install purchase purchase × MacUpdate Discover New Mac Apps.
If using Mac OS X 10.4 or earlier, open the disclosure triangle for the Details panel within the Ownership & Permissions panel. Drag and drop the file "in use" from the Trash the Finder window opened in step 1 to the Terminal window opened in step 2. Reply Taylor says: 4 years ago I tried the sudo rm -rf ~/.Trash command in terminal but it did not work. Some Items In The Trash Cannot Be Deleted Because Of System Integrity Protection. Reply Eran says: February 15, 2015 at 1:20 am Boot your computer as "root" user and you'll be free to do whatever you want without permission limitations on your computer, external
Reply Vern says: February 7, 2013 at 12:38 pm Good job Trevor, even the guys at the genius bar here in Naples didnt know that trick:-) worked perfectly! How To Empty Trash On Mac When Item Is In Use In the bottom left corner, you'll see an option to unlock the file. Enjoy this tip? see this here Share your voice 0 comments Tags Computers Storage Related Stories MagNeo replaces MacBook's USB-C, offers high-speed video and data Buying a laptop, last-minute holiday shopper?
Press the Command-A key combination to select all files in the Trash. Force Delete Mac This works 7/10ish is the file is persistent with just a regular emptying. Drag the files from the Trash to the Terminal window. You will likely be prompted for your administrator password – type it and press Enter/Return again.
If you ejected the removable media or shared network volume before emptying the Trash, the files you thought were deleted would still be in .Trashes folder at the root (top) level here Reply shoc says: 5 years ago Thanks the sudo solved it! _o_ Reply Antonio says: 5 years ago When i try to empty my trash the Mac restarts itself. How To Force Empty Trash On Mac Assure you have typed the command exactly as specified before proceeding: typographical errors in this command can have dire consequences, including erasing your hard drive! 4. Trash Won't Empty Mac However Booting in safe mode (holding shift while booting) did work.
If you don't know what you're doing you could easily delete crucial system or personal files. have a peek at these guys Reply Lynn Watson says: 3 years ago Found this, instantly fixed it, easily! Resolving common Trash problems: solutions for the following common Trash problems: Moving locked files to the Trash. I'm attempting the Terminal command sequence above, but getting lost at the part where nothing shows up after the cd /Volumes/Time\ Machine/.Trashes/ command. Trash It
Log in or Sign up reviews_anchor Reviews & Comments Ratings Sort by:Time|Smiles 5 137 Ratings Overall (137) Current Version (7.x) (4) Details Downloads 531,253 Version Downloads 4,235 Type Utilities / AppleScript Empty Trash Mac Terminal I have been working for two days trying to delete locked files from the Trash on my iMac running OS 10.8. Locked files in the Trash Try one or more of the following methods to delete locked files in the Trash: Force the Trash to empty using the Option key.
Deleting locked files Locked files can easily be deleted if you press Shift-Option or Option key combination while emptying the Trash (in Mac OS X 10.1 and later). Reply Denise says: April 6, 2016 at 12:14 pm WOW, read tons and tons of stuff trying to take care of this issue, tried tons and tons of things they said Annoying. Can't Delete File In Use Mac Aside from that, it's not working because you are not typing the proper syntax.
Hence Mac OS X immediately deletes files moved to the Trash from removable media and shared network volumes. You need a space between f and * but realistically if you can't follow instructions then you absolutely should NOT be using the Terminal let alone the rm command with a Note the name of the volume which the files are being deleted from. this content Repair disk & repair permissions Sometimes files become corrupt and need some attention before they can be deleted.
Once found, right click on the file and choose "Delete Immediately". Trash It! The first thing to do is look at the file(s) or folder(s) that are stuck. Connect the Time Machine drive to the Mac and (temporarily) stop any existing Time Machine backups Open Terminal, found within /Applications/Utilities/ and then enter the following command to change the active
Reply raed says: October 27, 2012 at 8:10 pm i was working on this last night but fall asleep not finishing the job. When the job is done, type "exit" (minus the quotes) and press Enter/Return before quitting Terminal. Techniques for solving Trash problems Trash utilities for eradicating troublesome files You may want to download and install the freeware utility Trash It! Very agonizing … I have even reset the OS-X tried all and above but there is still a folder with the file in it which is resisting to go … CL
Repeat the "Repair Disk" and "Repair Disk Permissions" process for any external volumes or drives listed in Disk Utility as well. Unfortunately there is no single solution for fixing a Mac with a Trash that won't empty. If you double-click on it, it will clean out your Trash can. Note that: There is a single space after each of the terms sudo, rm, and -ri in the command.
Even though there are many positive comments, I want to express my..." on My Photo Stream not updating in Mac Photos app? In these cases, you have a couple of approaches to take. Reply Tim R says: November 18, 2012 at 9:37 am excellent thanks - so frustrating trying to get rid of stuff! Reply Mary Beth Libby says: March 14, 2013 at 7:32 am I have tried EVERY tip before and this is the only thing that would completely empty my trash.
Empty and recreate the affected account's Trash.