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


Click here to return to the 'Yet another method of trashing undeletable files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Yet another method of trashing undeletable files
Authored by: macgruder on Feb 15, '06 10:17:05AM

This hint:

http://www.macosxhints.com/article.php?story=20050928082624470

deals with how to prevent rm distasters. Basically:

$ ls something*
##### OUTPUT HERE
$ sudo rm -rf !$

What is about to be deleted will be listed at #####, so if a billion files appear you know you made a mistake before it turns into a distaster.



[ Reply to This | # ]