Path: utzoo!attcan!uunet!snorkelwacker!usc!zaphod.mps.ohio-state.edu!uwm.edu!rutgers!aramis.rutgers.edu!paul.rutgers.edu!broadman From: broadman@paul.rutgers.edu (Allen Broadman) Newsgroups: news.newusers.questions Subject: alias rm to write to trash directory Message-ID: Date: 8 Feb 90 02:50:06 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 19 Since I have no easy way of retrieving files that have been accidentally RM'ed, I would like to have my RM command actually write files to a directory TRASH, which I could periodically empty. 1) Is there an easy way to this? I'd imagine that it is a combination of ALIAS and getting hold of the command line arguments sent to RM. 2) Is there a way to be reminded to empty the TRASH directory upon logging out? Is there an analagous file to .login (.logout perhaps)? -- ------ Allen Broadman broadman@paul.rutgers.edu