Trash It For Mac Os X
For some reason, emptying the trash in OS X has always been a slow process, especially if you have a lot of files there. Gtk for os x. I tanked a huge folder that had over 10,000 items in it and it took a whopping 30 minutes to trash it!
For Mac is a basic program that forces the trash can to completely empty, but has no additional features and is not a useful program. For Mac is available as a free application. Here are two solutions below which you can try to force empty the Trash on Mac: use Mac's Terminal or restart your Mac in 'Safe Mode'. 1 Use Terminal to Empty Trash on Mac. In the days of Mac OS X, the command sudo rm -rf /.Trash/ was used to force empty Trash.
There isn’t too much you can do about this since it’s the way the operating system works, but if you know how to use Terminal and aren’t afraid of it, then you can speed up the process.
The first thing you can do is to make sure you are not securely deleting your trash. This is an option in OS X that will completely overwrite the data that was stored where those deleted files were.
Basically, it makes sure that no data can be recovered once it has been deleted. Most people would not want this unless they are storing super sensitive information that they would not want anyone to be able to see even after the data has been deleted.
Go to Finder, then click on Preferences and then click on Advanced.
Make sure Empty Trash Securely is not checked. If you had that checked for any reason, it would take a lot longer to empty the trash. If this option wasn’t checked and emptying the trash is still slow, you can empty the trash using Terminal.
Note: The Empty Trash Securely option has been removed from OS X El Capitan and probably all future versions of OS X.
Empty Trash using Terminal
Open Terminal by going to Applications, Utilities and Terminal and type in the following command:
Make sure you type it exactly as it appears above with no extra spaces or anything else. Using this command incorrectly can lead to deletion of files and folders you did not intend to delete.
Emptying the trash using the Terminal is significantly faster than the traditional method of using the GUI. Most of the time it’s probably not worth going into the Terminal, but if you have a huge amount of data that you just deleted, it might be worth the extra effort to save some time.
Note that using this command in the terminal does not delete the trash that is from external hard drives or other partitions, just the local files on your Mac.
If this command is not working for you and the trash is not being emptied, you might have to run the command as sudo. To do that, just add sudo to the front:
When you use the sudo command, you’ll need to enter the password for the account in order for the task to complete. So if the trash won’t delete or you get an error message when trying to empty the trash, you can try this method to fix the issue.
Trash Mac Os X Location
That’s it! If you are having issues/problems with emptying the trash in OS X Lion or other thoughts, please post a comment here and let us know! Enjoy!
If your Mac OS X trash contain any locked files, it won’t allow you to empty trash and provide error message like “The operation could not be completed because the item ‘( file name)’ is locked” Or “There are some locked items in the Trash”.
Delete Locked items in trash
Press and hold the Option key while selecting Empty Trash option.
How to unlock any Files or Folders in Mac OS X
Empty Trash Mac Os X
- Right click the file and select “Get Info” option.
- Deselect the check box name “Locked”.
- Now try to delete the file.
If you want to unlock folder, then
- Open Terminal app from (/Applications/Utilities) folder.
- Type this command followed by a space: sudo chflags -R nouchg
- Drag and drop the particular folder you need to unlock into the Terminal window.
- Click Return.
- Enter the password and click Return.