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


Click here to return to the 'A truly safe method' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A truly safe method
Authored by: SOX on Aug 24, '06 11:24:15AM

Yes rm is like a table saw. If you are careful you get to keep your fingers. but one teeny tiny moment of inattention and .....

So here's a safer kludge.

Simply move (sudo mv) the files to /tmp
they won't be deleted till the next time you reboot. But they will get deleted for sure.

Now if you really want to delete them, put them in a subdir of /tmp and then overwrite that subdir. But that gets back to some of the same dangers as rm.




[ Reply to This | # ]