| Hack: | Bringing Trash-Awareness to rm | |
| Subject: | Unwise to replace rm | |
| Date: | 2003-04-22 09:29:28 | |
| From: | ygor | |
|
I applaud your command-line "move-to-the-trash" utility, but as a long-time Unix geek, I would advise caution at changing a basic Unix command.
|
||
Showing messages 1 through 2 of 2.
-
Unwise to replace rm
2003-05-13 14:53:49 anonymous2 [Reply | View]
The Finder's "Empty Trash" is maddening when you are
trying to get rid of several thousand little files in a directory tree. "rm -fr" is so much nicer.
Funny, it's the other way around for me; I'd rather be able to move an entire directory into the trash in one stroke (rather than contending with an 'rm -rf' for disk access), then empty the trash when I step away from the system.
On my debian and IRIX systems I've gotten so lazy that I just move directories into /tmp and let them sit until the next reboot.
Unfortunately (sic), the kernels nowadays are stable enough that even with big hard drives, /tmp fills up before a crash/hang/forced reboot. This is the kind of problem I want to have, though :-)
| Showing messages 1 through 2 of 2. |




You omitted another big reason for changing the name; you would be amazed at what ends up in the Trash after a major make install!
Thanks for an excellent suggestion.