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


Click here to return to the 'Deleting undeletable files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Deleting undeletable files
Authored by: beelers on Feb 05, '04 07:24:20PM
sudo rm ~/username/.Trash/undeletablefilename
That should remove anything that is in your way. Use with caution! Be sure you want to delete that "undeletable" file.

---
--
no sig is here

[ Reply to This | # ]

Deleting undeletable files
Authored by: fltman on Feb 06, '04 03:50:21AM
I have an issue with my trashcan. Check this out:

sudo rm -Rf /Users/andersbj/.Trash/kasta/
rm: /Users/andersbj/.Trash/kasta//OkaÌnt album: Directory not empty
rm: /Users/andersbj/.Trash/kasta/: Directory not empty
Any suggestions? Anyone?

[ Reply to This | # ]
Deleting undeletable files
Authored by: wallybear on Feb 06, '04 04:18:41AM

you are missing the -d switch (d stands for Directories)

use rm -rdf



[ Reply to This | # ]
Deleting undeletable files
Authored by: paalb on Feb 06, '04 11:17:32AM

Try:
sudo rm -rf /Users/andersbj/.Trash/*



[ Reply to This | # ]
Deleting undeletable files
Authored by: MacMuppet on Feb 06, '04 08:45:21AM

I use Cockatil for this, never failed yet.....



[ Reply to This | # ]