Hacker News new | ask | show | jobs
by reddit_clone 962 days ago
As much as I can, I do a 'mv ... /tmp' instead of 'rm -rf'. It gets the files out of the way, and provides a way out if that's not what I wanted.

'/tmp' will eventually be cleaned by the OS so no (prolonged) space worries.

2 comments

/tmp is a RAM disk on many systems so be careful with very large files
To add to this, I've been a happy user of the trash-cli for forever. Can recommend.