Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to Empty Trash

I have two folders that I am unable to trash. Have tried all key combination and terminal options that I know of to empty. Unable to post an image of the errors that I am getting when attempting to empty via Secure Empty Trash and Terminal commands I will type out the error messages.

When using Secure Empty Trash: "The operation cannot be completed because a required item is in use." Also, "The operation cannot be completed because the item {folder name} is in use."

When using Terminal commands, using "sudo rm -ri /" I enter my password and it asks for confirmation and the resulting message is "Directory not empty"

ANY help would be greatly appreciated. Thanks.

MAC Dual 1.8 GHz PowerPC G5, Mac OS X (10.3.x)

Posted on Oct 6, 2010 2:19 PM

Reply
21 replies

Oct 7, 2010 6:32 AM in response to PatrixUSA

If you have the problem where you can’t empty the Trash or eject a disk because something is preventing you? Usually the reason is because some application has a file open, and thus you can’t get rid of the disk or trash the file. Then use What’s Keeping Me! What’s Keeping Me (10.4) will identify the application that is preventing you from accomplishing your task. You can then use What's Keeping Me to quit, relaunch, or kill the problem application so you can get on with your business. http://www.hamsoftengineering.com/products/wkm/wkm.html

Sometimes it happens that the Finder just doesn't want to empty the trash anymore and says "The operation cannot be completed because the item "" is in use.". That's a good warning if it is true, but sometimes you want to get rid of an application and this warning appears even though the only thing running is the Finder. Usually after a restart you can delete it. But that is very time consuming and even then, it is sometimes still stuck not wanting to be deleted. There is a risky command that can be used in the Terminal that will empty the trash no matter what. Risky because a simple error in the syntax could erase a lot of stuff that you want to keep.

There is a way of forcing the Finder to empty the trash no matter what! It is done in the freeware customization and maintenance application OnyX (download @ http://www.titanium.free.fr/pgs/english/apps.html ). Once you loaded OnyX and entered your administrator password, choose "Cleaning" in the top bar. Click on the "Trash" tab. You can now choose whether you want to "Delete" or to "Securely Delete" (by overwriting) and click Execute. That's it, it will force the Finder to empty the trash even if the files are in use!

Many times, depressing the Option key while emptying Trash will empty problem files. Another method – start by depressing the mouse over the Trash icon. Then empty trash from the pop-up menu. The files should be emptied.

Also look at these links.

You can't empty the Trash or move a file to the Trash in Mac OS X
http://docs.info.apple.com/article.html?artnum=106272

Solving Trash Problems
http://www.thexlab.com/faqs/trash.html

How To Fix Stubborn Trash and Why it Won't Delete
http://www.osxfaq.com/Tutorials/LearningCenter/HowTo/Trash/index.ws

Download Trash It! v3.6.1 from:
http://www.nonamescriptware.com/?page_id=5

Download DropNuke from:
http://www.versiontracker.com/dyn/moreinfo/macosx/12664

 Cheers, Tom 😉

User uploaded file

Oct 7, 2010 9:51 AM in response to cornelius

Thanks for the replies.

Texas Mac, yeah, I've tried the xlab solutions and onyx too, no go, onyx gives an error and the xlab terminal solutions all come back with 'directory not empty'.

cornelius, the computer has been restarted, rebooted, shutdown, etc. many times now, still unable to get rid of these folders.

Note, I can empty all other items from the trash no problem, just these two folders give me the errors listed in my original post. At my wits ends, may just leave them there.? They don't seem to be causing any other issues, besides not being able to empty them out of the trash.

Texas Mac, I'll try some of the other links in your post and see what happens, thanks all.

PatrixUSA

Oct 8, 2010 9:17 AM in response to cornelius

Yeah, that's the sequence i'm using and the only thing it accomplishes is a restart - system restarts seconds after i release the shift key then proceeds to boot normally - i do hate it when issues begat issues...

I've also tried holding the shift key down before the chime, on the chime, way after... etc, etc, all to the same result.

PatrixUSA

Oct 9, 2010 12:48 PM in response to PatrixUSA

Try this:
• Shut down the computer.
• Locate the following keys: Command, Option, P, and R. You will need to hold these keys down simultaneously later.
• Turn on the computer.
• Press and hold the Command + Option + P + R keys immediately after the startup chime.
• Hold keys down until you hear the startup chime for the third time.
• Release the keys and immediately hold down Shift key to start up in Safe Mode. _Hold Shift down *until the gray apple appears*, then release_.
• Log in and empty Trash.
• Restart normally and log in.

😉 cornelius

Oct 11, 2010 9:58 AM in response to cornelius

Thanks cornelius - I had zapped the PRAM and NVRAM prior but went ahead and followed your protocol again. Upon hearing the third chime, I held the shift key until the gray apple appeared, then released - the system gets to the spinning "gears" for about 2 seconds then restarts normally - no sign of safe mode - so, same result. Why wouldn't I be able to start in safe mode?

The owner is telling me since the system was purchased pre-configured thru AVID that he does not have the OS start up disk - hmmm...

Unable to Empty Trash

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