home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 11020 < prev    next >
Encoding:
Text File  |  1992-09-13  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!wupost!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!giac1.oscs.montana.edu!osycs
  3. From: osycs@giac1.oscs.montana.edu (Craig Spannring)
  4. Subject: Re: user command to recover deleted file ?
  5. Message-ID: <1992Sep13.213707.25050@coe.montana.edu>
  6. Keywords: n
  7. Sender: usenet@coe.montana.edu (USENET News System)
  8. Organization: Geographic Information & Analysis Center Montana State University
  9. References: <3533@babcock.cerc.wvu.wvnet.edu>
  10. Date: Sun, 13 Sep 1992 21:37:07 GMT
  11. Lines: 15
  12.  
  13. In article <3533@babcock.cerc.wvu.wvnet.edu> hongman@cathedral.cerc.wvu.wvnet.edu (Guo Hongman) writes:
  14. >
  15. > can any tell if there is user command to recover deleted file ?
  16.  
  17. Yes.  Try 'tar xvf /dev/tape filname'.  
  18.  
  19. Seriously though, once the file is deleted it is gone.  The best you can
  20. do is to alias the rm command to something that just moves the file to 
  21. someplace else.  The un-rm command would then just move the file back.
  22.  
  23. -- 
  24. =========================================================================
  25.  Six of one, 110 (base 2) of | Craig Spannring --- (406) 994-6128
  26.  another.                    | osycs.giac1.oscs.montana.edu
  27.  ----------------------------+ Geographic Information & Analysis Center
  28.