Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!sphinx!d757 From: d757@sphinx.uchicago.edu (Lawrence Lerner) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: rm * Message-ID: <2284@sphinx.uchicago.edu> Date: Wed, 16-Sep-87 13:14:50 EDT Article-I.D.: sphinx.2284 Posted: Wed Sep 16 13:14:50 1987 Date-Received: Sat, 19-Sep-87 01:33:29 EDT References: <2830@lifia.UUCP> <591@euraiv1.UUCP> Reply-To: d757@sphinx.UUCP (Lawrence Lerner) Organization: University of Chicago Computation Center Lines: 21 Xref: mnetor comp.unix.wizards:4278 comp.unix.questions:4108 Here are some commands that have been implemented here. We run B 4.2 on a Pyramid 90x. These commands go in your .cshrc file. #bye along with rm and unrm allows you to get rid of files temporarily and #then flushes them when you log out normally. If you have not logged using #the "bye" alias the files will not disappear. This is especially useful for #system crashes. If you wish to retrieve them you can use #unrm, this ONLY works if you have not yet logged out. Rm stores them in the #limbo directory which you must first create in order to use these procedures. alias bye 'chmod 755 $HOME/limbo/.* >& /dev/null;chmod 755 $HOME/limbo/* >& /dev/null;\rm $HOME/limbo/.* >& /dev/null; \rm $HOME/limbo/* >& /dev/null;close limbo' alias rm 'mv \!* $HOME/limbo' alias unrm 'mv $HOME/limbo/\!* $cwd' -- "...nothing kills that does not know ye." -Meg Davis, `The Elf Glade' UUCP: ihnp4!gargoyle!sphinx!d757 d757@sphinx.uchicago.edu Lawrence Lerner University of Chicago Computation Center