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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!elroy.uh.edu!st1y2
  2. From: st1y2@elroy.uh.edu (Gray, William W.)
  3. Newsgroups: comp.unix.questions
  4. Subject: Undelete
  5. Date: 6 Jan 1993 01:06 CST
  6. Organization: University of Houston
  7. Lines: 15
  8. Distribution: world
  9. Message-ID: <6JAN199301064871@elroy.uh.edu>
  10. NNTP-Posting-Host: elroy.uh.edu
  11. News-Software: VAX/VMS VNEWS 1.41    
  12.  
  13.  
  14. hehhehe, that was one of the first things I learned
  15. when I moved to UNIX. UNIX o   does not
  16. have an "undelete" command. But what you can do is write a script file simler to h this and call it del
  17.  
  18.  
  19. cp %1 /delete/%1
  20. rm %1
  21.  
  22.  
  23. this should copy the file to /delete and then
  24. rm r  the file.  Once a week or so you go to /delete
  25. and carefuly type rm -r *, AND I MEAN CAREFULLY!
  26.  
  27.  
  28.