image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old May 24th, 2003, 08:33 AM
Registered User
 
Join Date: Jul 2002
Location: Louvain-la-Neuve, Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
kadoche is on a distinguished road
How to force empty the trash??

I've got a file in my trash that doesn't want to get out of the trash when I empty it... In OS 8/9, there was a function to force empty the trash, but I can't figure it out for Mac OS X... Does anyone know if that command still exists, and if yes, please tell me!!!

Thanks for the help
Reply With Quote
  #2  
Old May 24th, 2003, 09:23 AM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 5 Times in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
Open the terminal and type:

cd ~/.Trash
<hit return>

sudo rm -rf

put a space after the f and drag the item you want deleted to the terminal so that its path is automatically entered, then press return

give it your admin password and hit return


You can also go to http://www.versiontracker.com and get a program like Cocktail to force empty.
__________________

Reply With Quote
  #3  
Old May 25th, 2003, 05:12 AM
Registered User
 
Join Date: Jul 2002
Location: Louvain-la-Neuve, Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
kadoche is on a distinguished road
it seems not to work!!! The file in the trash disappears every time I drag it to the terminal, and when I type its name (as shown below), I suppose I don't type exactly the right code...

[user-************:~] denisdoc% cd ~/.Trash
[user-************:~/.Trash] denisdoc% sudo rm -rf (Hed)pe- Killing time#A3465.mpg
Badly placed ()'s.
[user-************:~/.Trash] denisdoc%

I tried to remove the file with Cocktail, but after typing its name on the bar (Trash/(Hed)pe- Killing time#A3465.mpg), it shows an alert "Invalid path: (Hed)pe- Killing time#A3465.mpg"

Does anyone understand my problem and is able to help me???
It isn't very important, but I'm being bored with that stuff...

Thanks for the help,
Kevin
Reply With Quote
  #4  
Old May 25th, 2003, 06:24 AM
Racer D's Avatar
what?
 
Join Date: Oct 2002
Posts: 282
Thanks: 0
Thanked 0 Times in 0 Posts
Racer D is on a distinguished road
how bout this

cd ~/.Trash
sudo rm -rf *

("*" means every single file in the trash)
Reply With Quote
  #5  
Old May 25th, 2003, 08:48 AM
monktus's Avatar
Registered User
 
Join Date: Apr 2003
Location: County Armagh, Ireland
Posts: 610
Thanks: 0
Thanked 0 Times in 0 Posts
monktus is on a distinguished road
It wasn't working before because the terminal doesn't understand filenames as aqua does. For (Hed)pe- Killing time#A3465.mpg you'd type "("Hed")"pe-\ Killing time#A3465.mpg
__________________
MacBook Core 2 Duo 2.1
PowerMac G4 800
"...And The Dogcow Went Moof".
Reply With Quote
  #6  
Old May 25th, 2003, 08:49 AM
Registered User
 
Join Date: Jul 2002
Location: Louvain-la-Neuve, Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
kadoche is on a distinguished road
yahaaaaaa, it worked!

Thanks a lot for the help!!!
Reply With Quote
  #7  
Old March 13th, 2004, 11:30 AM
Registered User
 
Join Date: Feb 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
snø is on a distinguished road
Unhappy very old thread, but same problem

hi,
before i begin...
i have tried:
cd ~/.Trash
sudo rm -rf *
i have also tried force empty in Cocktail...but uhuh

I have an MP3 that i would like to trash, but it won't go. I have tried to move it to the desktop, but it says that i cannot move the file to the desktop because the name is to long. i tried to change the name, but it always goes right back to its original name. it has 2 strange characters in the name. they are not letters, but symbols and i don't know what they are. i have tried to change permission on the file, but that does not work either. i have iCan and tried to kill it with "brutal force" as they say and it does not work...

HELP! pleeeeze. i am not sure, but i think it is slowing things down on my computer...i don't know :roll:

thanks,
snø
Reply With Quote
  #8  
Old March 15th, 2004, 08:46 AM
Mike Adams's Avatar
Registered User
 
Join Date: Jul 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Mike Adams is on a distinguished road
[quote=snø]hi,
before i begin...
i have tried:
cd ~/.Trash
sudo rm -rf *
i have also tried force empty in Cocktail...but uhuh

How about obliter8?
Reply With Quote
Reply

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure Empty Trash The Memory Hole Mac OS X System & Mac Software 8 November 10th, 2003 01:37 PM
Ugh! Faster way to empty Trash? Or delete huge amounts? Jasoco Mac OS X System & Mac Software 4 December 22nd, 2002 07:21 AM
Want to empty trash with deleted user, have tried every single terminal code... RPS Mac OS X System & Mac Software 9 November 9th, 2002 01:17 AM
Can't empty trash! ie99enda Mac OS X System & Mac Software 1 February 26th, 2002 04:09 AM
i cant empty tha trash!!! ronin_X Mac OS X System & Mac Software 1 August 14th, 2001 01:46 PM


All times are GMT -5. The time now is 02:48 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.