preece%fang@gswd-vms.Gould.COM (Scott E. Preece) (11/18/87)
The first couple of years I worked on Unix I used aliases that turned rm commands into mv to a hidden directory and cleaned that directory periodically. Now I work in a place that does believable backups regularly, so I just fill in the holes 1. I alias rm to "rm -i" so that mass deletions don't happen 2. when I want to clear a lot of files all at once I just use /bin/rm instead of rm, so the alias doesn't get in the way 3. I have emacs save a copy of everything I create or modify with it in a safe place, to cover the relatively short time during which no backup is available; every time I log in that directory gets scrubbed of all files that have been there more than a nominal time (two days, allowing for the occasional mechanical failure interfering with the dump process) -- scott preece gould/csd - urbana uucp: ihnp4!uiucdcs!ccvaxa!preece arpa: preece@Gould.com
dhesi@bsu-cs.UUCP (11/18/87)
All the UNIX systems I've ever used (UNIX PC, Microport, 4.xBSD, 3B2
Sys V, Xenix, etc.) come with a source code control system, SCCS or RCS.
Use it actively! Use it every 10 minutes if you wish.
Then, when "rm *" hits, you've lost at most 10 minutes of work.
--
Rahul Dhesi UUCP: <backbones>!{iuvax,pur-ee,uunet}!bsu-cs!dhesirbj@icst-cmr.arpa (Root Boy Jim) (11/20/87)
1. I alias rm to "rm -i" so that mass deletions don't happen
2. when I want to clear a lot of files all at once I just
use /bin/rm instead of rm, so the alias doesn't get in the way
You must like to type. Try "\rm" instead. Aliases are not expanded
when any of the characters are quoted.
scott preece
gould/csd - urbana
uucp: ihnp4!uiucdcs!ccvaxa!preece
arpa: preece@Gould.com
(Root Boy) Jim Cottrell <rbj@icst-cmr.arpa>
National Bureau of Standards
Flamer's Hotline: (301) 975-5688