Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Can't empty trash issue

Can't empty trash issue
Thread Tools
Senior User
Join Date: Aug 2003
Status: Offline
Reply With Quote
Jan 31, 2006, 11:48 PM
 
I get so much "can't complete because...is in use... that I'm almost never able to empty trash."

Now if I quit all apps everything is fine, but that's quite a hassle to empty your trash.

any ideas? thanks
     
Senior User
Join Date: Jul 2002
Location: Arizona Wasteland
Status: Offline
Reply With Quote
Feb 1, 2006, 12:08 AM
 
Figure out which application is locking the file in your trash and quit that application only. Media players are the usual culprit for me.
     
kevs  (op)
Senior User
Join Date: Aug 2003
Status: Offline
Reply With Quote
Feb 1, 2006, 01:11 AM
 
thanks, says picture 1 is in use. But what is in use? I have no images up. So is this a glitch in the OS?
     
Addicted to MacNN
Join Date: Sep 2000
Location: Isle of Manhattan
Status: Offline
Reply With Quote
Feb 1, 2006, 11:22 AM
 
I've had this problem only in 10.4.4. If a quicktime movie is opened in quicktime, then the movie is closed and the movie is trashed (but not quitting QT), the trash can't be emptied until QT is quit. Same with text in TextEdit. Gotta be a bug, err, feature.
     
Mac Elite
Join Date: Nov 2005
Location: Seattle, WA, USA
Status: Offline
Reply With Quote
Feb 2, 2006, 04:38 PM
 
Or you can always just hold option while you empty the Trash... it deletes anything, whether it's in use or locked or anything like that.

Any ramblings are entirely my own, and do not represent those of my employers, coworkers, friends, or species
     
Forum Regular
Join Date: Sep 2004
Location: Earth
Status: Offline
Reply With Quote
Feb 6, 2006, 05:54 PM
 
Originally Posted by kevs
thanks, says picture 1 is in use. But what is in use? I have no images up. So is this a glitch in the OS?
This is also a know bug in Preview. It caches images you open. If it hasn't cleared this, Trash still thinks the image is in use. Quitting Preview will then permit you to empty the Trash.

If not Preview, then you can find out what app or process appears to have a hold on the file in the Trash:

1. Open the Trash

2. Launch Terminal, located in the Macintosh HD > Applications > Utilities folder.

3. Position the Terminal and Trash windows so they do not overlap.

4. At the Terminal prompt, type lsof followed by a single space, but do not press Return yet.

5. Drag and drop the file cited in the alert dialog from the Trash to the Terminal window. The path to the file appears after the command typed in step 4.

6. Press Return. You will receive output in Terminal listing the file you dropped on the Terminal window in step 5. The process or application that is considered to have the file "in use" is listed under the column labeled "COMMAND." Quit that application or, using Activity Monitor, terminate that process.
Good Luck!

Dr. Smoke
Author: Troubleshooting Mac OS X
     
kevs  (op)
Senior User
Join Date: Aug 2003
Status: Offline
Reply With Quote
Feb 6, 2006, 09:13 PM
 
thanks
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:29 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2