home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / question / 15277 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.3 KB

  1. Xref: sparky comp.unix.questions:15277 comp.unix.misc:4867 comp.unix.admin:6957
  2. Newsgroups: comp.unix.questions,comp.unix.misc,comp.unix.admin
  3. Path: sparky!uunet!stanford.edu!ames!pasteur!liszt.berkeley.edu!adams
  4. From: adams@liszt.berkeley.edu (Adam L. Schwartz)
  5. Subject: Re: Dumb Question...
  6. Message-ID: <1993Jan7.184644.19735@pasteur.Berkeley.EDU>
  7. Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster)
  8. Nntp-Posting-Host: liszt.berkeley.edu
  9. Organization: U.C. Berkeley -- ERL
  10. References: <C0EsA1.3u2@ncifcrf.gov>
  11. Date: Thu, 7 Jan 1993 18:46:44 GMT
  12. Lines: 17
  13.  
  14. In article <C0EsA1.3u2@ncifcrf.gov> digennar@fcs280s.ncifcrf.gov (Frank S. DiGennaro) writes:
  15. >    This might seem a simple question, but here goes... does UNIX have an 'unerase'
  16. >command similar to DOS?
  17. >
  18.  
  19. On our system, we have a set of commands which allow this action.  The
  20. first command is aliased to 'rm'.  When used, instead of erasing the
  21. file, it moves it to a separate directory.  Files in this directory
  22. are maintained for one day (or user setable amount of time).  Latter,
  23. if you want to 'unerase' the file, you issue the command 'unrm' with
  24. the full pathname of the file.  The file is then retreived from the
  25. directory and restored in the original directory.
  26.  
  27. Unfortunately, I don't know where we got these commands or if someone 
  28. here hacked it up.  It's quite nice to have though.
  29.  
  30. -Adam Schwartz
  31.