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

Click here to return to the 'Don't use this!!!!!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't use this!!!!!
Authored by: robg on Apr 30, '01 09:22:11AM

Interesting ... I just used the 'find' portion, without the rm -rf, and it returned exactyly what I'd expect -- a listing of my three users' .trash directories.

Once I get my experimental OS X partition set up, I'll try this for real with the 'rm' portion and see what happens.


[ Reply to This | # ]
Don't use this!!!!!
Authored by: robh on Apr 30, '01 06:31:19PM
I'd advise folks to never run a 'find .... | xargs rm ....' type of command without first testing the output of the 'find' to make sure that the files to be removed are the ones you want to zap. The 'find'ing is safe, it's the 'rm'ing that can bite your ass.

[ Reply to This | # ]