There are many possible causes for this; here is one thing to try to eliminate the error. Once you see your Mac desktop, bring up the Finder window and delete the file. You can also press Command-Option-Shift-Delete to bypass it. Use ls to list each directory until you find the file. Why should users have to try and randomly close apps to see what is going on when Apple developers could spend about 10 minutes writing a feature that checks what's using it and tell you? I tried this in Lion and Mountain Lion. I Belive if you drag them to the Trash while holding the option or cmd key will overrride any obstacle haven't use this in a while.
As these commands will delete locked files without alerting you anything. If it's still in use, go back to the app and quit it and trash. You can then use What's Keeping Me to quit, relaunch, or kill the problem application so you can get on with your business. If nothing of this works you may need to use the Unix terminal and use a command to delete them. If the file is still stuck there is something far more serious going on that your little desired functionality has no hope of fixing. Here we listed some of the solutions that may help you delete files and empty Trash to.
Those that eventually become knowledgeable of the command line power but don't wish to learn the invocations can easily find the apps. Sorry, climbing down from my soapbox now. I'm freaking out, I have some important stuff that is not backed up stupid, I know. Try Repair Permissions and then try to Empty Trash again. Is there any way to undo this!? Secure Empty Trash is a security measure designed by Apple to make sure sensitive files have their indexing removed from the hard drive and the space they occupied overwritten. Either way, you won't be able to delete the file.
Even knowing the command line commands doesn't make it more efficient. What if I made a typo in the directory name? Pressing the correct key will cause your computer to reboot into Safe Mode. When I encounter this problem in my Mac, I simple reboot in Windows. All you have to do is open a terminal window and type rm followed by a space, open your trash and drag the file you want to remove to the terminal window, then hit return. Takes about 5 seconds and yet they don't use it so 3rd party developers have to come up with ways to do it. Please double-check your typing when using sudo. And this process will take you some time which depends on the size of the files you are deleting.
Select Delete Immediately and confirm the deletion. It's actually quicker than doing the cd to your Trash folder in the terminal. If files are locked, you should unlock them before deleting. The terminal allows you to execute commands to the operating system with code. Then open the Trash folder from the Dock.
You can also use the Terminal command lsof, which tracks all files in use by even the lowest of low-level parts of the system. How do I use cd and ls? Then I could not move or delete it. The trash can be emptied, but these two files never disappear. Watson or Dashboard vs Konfabulator. This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness.
Either way, you won't be able to delete the file. It looks like there's a few nice apps there and they should be much more accessible for people not familiar with terminal use. No preview pane no message and the file deletes. Sometimes, if the reason for the file hangup is a Finder crash or anomaly of some type, this Secure Empty Trash process will also hang. We shouldn't need Tinkertool, Onyx and these other little apps for basic functions. Takes about 5 seconds and yet they don't use it so 3rd party developers have to come up with ways to do it. To solve this problem, just rename the file and remove the special characters, then delete the file.
Simply killing this process solves the problem most of the time. Start Terminal from the Utilities folder. Try deleting your file again. If the files still persistently refuse to be deleted, it may be that their permissions have gotten mixed through some accident of machine storage timing. There are extra levels of warnings available that you might choose to turn off or bypass.
Navigate to the directory concerned using the cd command. So I guess Apple didn't make those particular commands available? Select one or more files in the Trash and Control-click. This fixed it for me. In this article we will be discussing the variety of ways you can get around this annoying message, empty the trash, and get on with your day. Those that know the command line have it all, now.
If you rm a file while it is in actual use, you will most likely not get the disk space back until that file is released by whatever is holding an open file descriptor to it. Hope this will also works for you. If you've used either one recently, plug it back in and try the normal Empty Trash. If you want to preview a file in Trash before deleting, you'll need to pull the file out of the bin and double-click it to open it up and preview. However, this can be tricky if the file is on your desktop where Quicklook will automatically enter memory to render it, thus login back to your desktop may lock it again. If there's anything else, feel free to reach out to us.