[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Restoration of deleted file ?
Guy Cohen wrote:
>
> On Wed, 7 Apr 1999, uri wrote:
>
> .|Is it possible to restore somehow deleted file ?
>
> Yes, but that depends that you did not wrote to the same place on
> the disk. what you should do is use grep for words in the file you
> can remmeber the the device. i.e if you deleted your passwd file and your
> root partition is /dev/hda1 then the appropriate command sould be
> egrep -A 100 -B 100 "^root:" /dev/hda1 > /tmp/restore.passwd
> then, in all the garbage in /tmp/restore.passwd you should be able to find
> the appropriate /etc/passwd line.
> There is a HOWTO or a tuturial for that. i think you can find it somewhere
> under www.linux.org.uk, probebly elsewere too.
>
And, IIRC, there is another way to do that....
in mc (Midnight Commander) there is delfs.
that means that you can browse these files as if they were real files.
(similar to the way one can browse inside tarballs)
you won't see the filename though.
so you must remember the size of the file,
and maybe browse inside it.
--
What does Microsoft do? Spread shit.