Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Restoring deleted files under Linux

by binner (Novice)
on Aug 22, 2001 at 19:55 UTC ( [id://107003]=note: print w/replies, xml ) Need Help??


in reply to Restoring deleted files under Linux

From the 'promoting existing utilities' dept.

First, I must say 'Nicely done'.

Second, not to rain on your parade, but there is a unix utility (fairly widely available) called recover...it's saved my a** a couple times.

-Ben
  • Comment on Re: Restoring deleted files under Linux

Replies are listed 'Best First'.
Re: Re: Restoring deleted files under Linux
by jwest (Friar) on Aug 22, 2001 at 22:11 UTC
    In addition, a package called "The Coroner's Toolkit" contains an utility or two for doing this as well. TCT is a tool developed for doing forensics work on machines that have been cracked, written by Wietse Venema and Dan Farmer.

    It can be found here.

    Glad to see another good tool developed for this - very nice indeed.

    --jwest

    -><- -><- -><- -><- -><-
    All things are Perfect
        To every last Flaw
        And bound in accord
             With Eris's Law
     - HBT; The Book of Advice, 1:7
    
Re: Re: Restoring deleted files under Linux
by chipmunk (Parson) on Aug 22, 2001 at 22:29 UTC
    Thanks, I'll have to look into that. This is obviously not the same recover that's installed on my desktop machine: recover (6)          - recover a NetHack game interrupted by disaster :D
      Hah! DOS also includes a valuable tool by the name of recover.exe. Back in the days of DOS 3, trying to restore some deleted Leisure Suit Larry saved games from my 80286 PC, I had the good sense to go and use it...
      C:\>RECOVER RECOVER [drive:][path]filename C:\>RECOVER C: [much grinding, thrashing, wailing and gnashing of a 40 meg MFM drive +for a very long time] C:\>DIR ... FILE0001.REC ... FILE0002.REC ... FILE0003.REC . . . ... FILE0040.REC 40 File(s) 21,505,356 bytes 0 Dir(s) 20,102,016 bytes free C:\> [much screaming, kicking, and pounding on desk by a thirteen-year-old +kid, for a very long time]

      Oh, the memories...

      For the confused or non-amused, I lifted the following explanation:

        
      2. RECOVER ... The worst example of RECOVER's deadliness is when you use it on a hard drive. RECOVER sees these thin +gs called subdirectories and assumes they're all bad files. So it convert +s each of your subdirectories into a FILExxxx.REC file. Tada! Instantly every + file on your hard drive is effectively gone. Why does Microsoft keep such a + deadly program around? To prove that RECOVER.EXE should be deleted from your +hard drive, I should point out that the many disk-repair utilities in both +Central Point Software's PC-Tools and Symantec's The Norton Utilities are writ +ten specifically to recover from the RECOVER command.

         MeowChow                                   
                     s aamecha.s a..a\u$&owag.print
        Heh, I did that once. A version of dos was such that you didn't even have to provide the C:... the recover command was all you needed. Ick. All fun in retrospect.
      Try:
      $ man 1 recover

      If it's installed, it should show up.

      -Ben

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://107003]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-18 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found