Re: how to recover the deleted data



On 16 Jul 2006 05:37:20 -0700, xiaohangzi@xxxxxxxxx wrote:

Today , i deleted some data which i think useless.use the command ' rm
-rf '
but now, i find there are some useful things in those data .
How can i recover them ?
Any ideas?

thanks
^-^

If you haven't backed up the data but they haven't been overwritten on
the disk yet, one possibility might be to create images of the
partition they were on using "dd" and then "grep" those images for
some marker string by which you might recognize what remains of the
files - but that is a somewhat crude and tedious method; whether you
would want to try it probably depends on the format of the data and
how badly you want them back among other things. Also, the text-based
file manager "mc" has an "undelete" option, under its "command" menu,
for files on ext2 (probably including ext3) filesystems - there are
probably more basic command-line tools underlying that functionality
but I don't know what they are, and I don't know how reliable the
results are.
.