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


Click here to return to the 'A relatively safe method of deleting trashed locked files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A relatively safe method of deleting trashed locked files
Authored by: macgruder on Aug 24, '06 09:58:06AM
I'm not overly excited about this hint. I certainly do not recommend mucking about with rm -rf and * in combination with copying and pasting into the terminal. If you're going to do it this way is much much safer:

$ cd
$ cd .Tras                   [hit the tab key here, Tras will expand to Trash]
$ echo *                   [if you get an output that does NOT reflect the contents of the trash STOP right there]
$ sudo rm -rf !$                [will delete the output from the above echo]
enter password as explained above

[ Reply to This | # ]
A relatively safe method of deleting trashed locked files
Authored by: macgruder on Aug 24, '06 10:03:53AM

The above will delete your own Trash from your local disk.



[ Reply to This | # ]