Bruce Marshall wrote:
On Wednesday 28 February 2007 13:42, Brian Jackson wrote:
On Wednesday 28 February 2007 10:36, Mike Noble wrote:
On Wednesday 28 February 2007 01:05, Vince Oliver wrote:
I have deleted some important files with
rm -f *
Is there a war to recover them in SuSE 10?
Hope you have backups, otherwise they are gone.
Unless they are JPEG images, then you can use the recoverjpeg package to
try a recovery. Works pretty good.
Google is your friend.
A google for 'linux file recover' found at least this and many other
links.....
http://recover.sourceforge.net/linux/
Or if they are text, and you have a big enough partition:
dd if=/dev/hda3 of=/mnt/hda3_partition_image.img bs=5M
I think the optimal block size is about half the rate the data is copied
per second. I've not tested this thoroughly, though.
then (much later)
strings /mnt/hda3_partition_image.img >
/mnt/hda3_partition_image_strings.txt
grep -i "stuff I want" /mnt/hda3_partition_image_strings.txt | less
I had to do this a week or so ago due to HDD failure :-( It took 16
hours to read the 8Gb disk because there were so many read errors. I did
get back the two files I needed, though. Fortunately all the copies of
the file had the same beginning and ending so I could write a quick
script to pull all the copies out then diff them to find the newest. I
learnt my lesson, and have set up RAID 1 and a backup cron job that
copies the files to an unprivileged user account on another machine that
in turn will be backed up to tape.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]