Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Trash and Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Trash and Terminal
Authored by: J0l on Sep 10, '01 07:31:12AM
Yep dragging the file from the trash into the terminal works great as it then shows the full path. Just edit it to add rm -rf (it there are directories involved, f =forced). i.e I have a file on a different drive dropping the folder from the Trash gave me this:

[localhost:~] root# /Volumes/Current-Work/.Trashes/501/SawmillRoot

so I just altered this to:

[localhost:~] root#cd /Volumes/Current-Work/.Trashes/501/SawmillRoot

cd .. (to get up a directory)

then typed rm -rf SawmillRoot

Notice I was root at the time, so before I did this to get to root I typed

sudo tcsh (my current shell)

[ Reply to This | # ]

Trash and Terminal
Authored by: nickair on Sep 11, '01 06:29:16PM

I had exctely the same problem. Even the rm -rf command in the terminal didn't work, although I was logged in as root. Finally, I tried to look at the informations via the Finder (command-i on the selected file), and saw that the file was locked. I just unlocked the file, dragged it back to the trash, and emptied it successfully!!!

Remember to check that if you have the problem...

[ Reply to This | # ]