[Discuss] data recovery using Linux
R. Langkamer
vlug at langkamerit.com
Sat Sep 1 11:31:34 PDT 2007
Remember those 60 pieces I cat'd together? Well somehow I removed the
partition I used to temporarily store the one big file made from them.
Now, I still have the 60 pieces, but I'm hoping there is a way to write
a small quick shell script to do the work for me, I just don't know how.
I am using bash in Ubuntu 6.10 and all the files are named like
file-name.001. Seeing as there is only 60 to work with and the first one
is named like file-name.img, I was thinking I could use a loop in the
shell script to cat each file in numerical order and append it to the
end of the .img file. I've googled, but I haven't found anything that
fits. Any ideas?
Thanks in advance!
--
Sincerely,
R. Langkamer
cross platform specialist
Mac - Linux - windows
Langkamer I.T.
on-site/remote tutorials, support & training
(T) 250.391.8972
(F) 250.391.8972
(E) ruairi @ langkamerit . com
More information about the Discuss
mailing list