"The Linux Gazette...making Linux just a little more fun!"


(?) The Answer Guy (!)


By James T. Dennis, answerguy@ssc.com
Starshine Technical Services, http://www.starshine.org/


(?) Accidental Deletion

From cly on Mon, 25 Jan 1999

(?) Hi! I used: gzip -cr * > file.gz

Then I deleted the source... Now I have a file.gz, but how can I get back the files and the directory structure?

Cly

(!) Basically there is no way (short of deep magic with a hex editor --- which is beyond my current skills(*)).
So, I'd say that you'll have to use your most recent backups or recreate the files from scratch. Certainly you can look at the "Ext2fs Undeletion mini-HOWTO" at http://metalab.unc.edu/LDP/HOWTO/mini/Ext2fs-Undeletion.html for some suggestions.


Copyright © 1999, James T. Dennis
Published in The Linux Gazette Issue 37 February 1999


[ Answer Guy Index ] 1 2 3 4 5 6 7 8 9 10
11 12 14 15 16 17 18 19 21 22
23 28 29 30 31 32 33 34 37 38
39 41 42 43 44 45 46 47 48 49



[ Table Of Contents ] [ Front Page ] [ Previous Section ] [ Next Section ]