Monday, December 27, 2010

[How-To] - Quickly Empty Trash on MacOS X

So, I often end up in situations where there is just too much data in my Trash and emptying Trash on a Mac can take ages. The annoying bit is – while Trash is being emptied – you can not delete anything else meanwhile. I ran into a situation today where I needed to reclaim my disk space on my internal disk and the only way to do so was to empty trash which had about the same size of stuff in it. Deleting via the Finder window can take ages as it counts the files and deletes them, it almost seems like an endless process.
Apparently, you can do so via the Terminal window
cd ~/.Trash
rm -rf *
That command recursively and silently deletes everything in Trash within minutes.



Related Posts Plugin for WordPress, Blogger...