New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.5 - Can not empty the trash?


Post Reply New Thread Subscribe

 
Thread Tools
Tarek

 
Tarek's Avatar
 
Member Since: Sep 18, 2008
Location: Cairo, Egypt
Posts: 773
Tarek has a spectacular aura about
Mac Specs: 15" MacBook Pro 2.4 GHz Intel Core i5

Tarek is offline
Hello guys,

As the title says, I'm trying to empty my trash but everything is still there. Whenever I press empty and then press OK on the pop up, it does the emptying sound and the window closes but everything is still in there. I've been trying that for a week now and failing.

Can someone please help me empty my trash?

Thank you very much.

Tarek
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
Sounds like you may have deleted files from an external drive or cruzer/pen drive, without emptying the trash. Reconnect the drive then try emptying the trash.
QUOTE Thanks
Tarek

 
Tarek's Avatar
 
Member Since: Sep 18, 2008
Location: Cairo, Egypt
Posts: 773
Tarek has a spectacular aura about
Mac Specs: 15" MacBook Pro 2.4 GHz Intel Core i5

Tarek is offline
I never connected any external or cruzer/pen drives. That's awkward.
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
OK so do a reboot and then with no apps open try to empty the trash, and report back to us
QUOTE Thanks
satrop
Guest
 
Posts: n/a

Also, try this.

Hold down the "alt" key click on the trash can, then on "Empty Trash" still holding the alt key and all items in the trash should go!

Let me know if that works.
QUOTE Thanks
Tarek

 
Tarek's Avatar
 
Member Since: Sep 18, 2008
Location: Cairo, Egypt
Posts: 773
Tarek has a spectacular aura about
Mac Specs: 15" MacBook Pro 2.4 GHz Intel Core i5

Tarek is offline
I've tried both methods but none of them worked.

Thank you for caring to reply!

Any other suggestions?
QUOTE Thanks
louishen

 
louishen's Avatar
 
Member Since: Oct 22, 2007
Location: London
Posts: 8,945
louishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant future
Mac Specs: Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver

louishen is offline
Onyx lets you do a force empty trash

Member of the Month September 2008 & August 2012 | Found advice useful? – use the rep system
QUOTE Thanks
shahjinan

 
Member Since: Feb 08, 2009
Posts: 3
shahjinan is on a distinguished road

shahjinan is offline
Check below
QUOTE Thanks
shahjinan

 
Member Since: Feb 08, 2009
Posts: 3
shahjinan is on a distinguished road

shahjinan is offline
Quote:
Originally Posted by Tarek View Post
I've tried both methods but none of them worked.

Thank you for caring to reply!

Any other suggestions?
I was having same problem.....I tried every thing to delete it..but it was not letting me do....

all i did was....i just drag the files which I wanted to delete and put on my desktop.....and they come with asking password...i put password...and the file just disappeared....I believe that this could be an error in os x..and some hidden file came as a part of trash.....which should not get delete....

so just drag out from trash...and they will just disappear...
QUOTE Thanks
shahjinan

 
Member Since: Feb 08, 2009
Posts: 3
shahjinan is on a distinguished road

shahjinan is offline
Quote:
Originally Posted by shahjinan View Post
I was having same problem.....I tried every thing to delete it..but it was not letting me do....

all i did was....i just drag the files which I wanted to delete and put on my desktop.....and they come with asking password...i put password...and the file just disappeared....I believe that this could be an error in os x..and some hidden file came as a part of trash.....which should not get delete....

so just drag out from trash...and they will just disappear...
in reality...Even that was also temporary solution...Finally I had to dig harder...than I thought...

this is a complete working solution....published by person named Skorzy

Solved the problem! Some more digging around in the discussions here found the solution. I'll paraphrase how I solved my problem here:

Its apparently a file in Windows that uses unallowed file names. The only way to fix this is through Windows "chkdsk" utility.

1. Boot into Windows
2. Click on "My Computer"
3. Get "Properties" on your C: drive
4. Click "Tools"
5. Click "Error-Checking" and enable the box for "Automatically fix errors"
6. Click apply.. and Windows will need to re-boot and "schedule" a disk-check on next reboot. Be sure to hold down your "Option" key during reboot (if you are running your Windows through Boot Camp). Re-boot into Windows
7. Disk Check will automatically run and you'll see an error in ".\.Trashes\501" It will automatically fix this.
8. When its all done, Windows will automatically reboot normally.
9. Reboot back into OS X and that strange alias will be gone!
QUOTE Thanks
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
ok I got a bit confused on the above posts

if you have a file you can't remove, you can always try from root through the terminal with the "rm" command

the only time I couldn't empty my trash was, as mentioned above, when I deleted something on an external drive which wasn't connected when I emptied
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
depends on the file, there have been instances where you can not remove the file because its name is not reproduceable. In some of these instances a find wouldn't even do it, while removing it from a windows boot would.

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
I messed around a bit and actually ended up deleting my trash just to see what happens, but it should be simple to delete your files

the trash itself is at ~/.Trash so you can easily cd into there and delete whatever you like, and if you do so as root then you shouldn't have any restrictions and might even be able to delete your mysterious files

so here it goes:
su root
cd .Trash //assuming you are in your home folder, otherwise its /Users/*user*/
rm -r *filename* //this goes for files
rmdir -r *filename* //this for folders

I should also mention, don't fiddle around as root too much
and when logging as root you will be in the same dir as before, but here home is not the same as on your regular account (I think its var/root)

EDIT:
one more: "rm -Ri *" will remove everything inside a directory, BUT BE CAREFUL with this one, doesn't sound right !BE CAREFUL WITH THIS ONE!
I know people fool around with similar commands, but it just gets you really mad, because by default the rm command is not verbose and will not ask you if you are sure, even then ppl are dumb enough ...
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
you can't recursively delete directories with unreadable filenames dude. Nor can you delete them.

I've even written scripts to try by inode, no dice.

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
Quote:
Originally Posted by Dysfunction View Post
you can't recursively delete directories with unreadable filenames dude. Nor can you delete them.

I've even written scripts to try by inode, no dice.
I apologize
I didn't realize the mentioned files were unreadable, just so far I've been able to sort all my funky files with rm

sry for misleading guys
QUOTE Thanks

Post Reply New Thread Subscribe


« Protecting Files From Being Seen? | Spyware »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
when attempting to empty the trash can my G4 reboots!! jezza OS X - Operating System 0 09-11-2008 06:51 AM
Trash won't Empty 1 Item salmar Switcher Hangout 10 05-17-2008 03:55 PM
Empty trash hung up on locked folder stellman OS X - Operating System 2 05-08-2008 08:52 AM
Help to empty trash beemzet OS X - Operating System 5 12-28-2007 04:15 PM
Secure Empty Trash AppleScript Brown Study OS X - Operating System 0 03-15-2004 04:10 PM

All times are GMT -4. The time now is 04:53 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?