[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DOS/vfat unerase



On Mon, Jan 12, 2004 at 10:36:18PM -0600, Robert G. (Doc) Savage wrote:
> Does anybody remember how to properly undelete DOS files? Other than
> restore the first character of the filename, what else do I need to do?

You're going to hate me for saying this, but wouldn't it be easier to
find a DOS/Windows box with undelete?  Maybe even a copy of Norton
Utilities...

A quick Google search turned up this:

  http://hccweb1.bai.ne.jp/~hcj58401/

Oh, and if the files are contiguous in the image, I suppose you could
do something like this:

perl -e \
 '$/="ffd8";while (<>){open(JPG,">".++$n.".jpg") or die "$!"; print JPG $/.$_;}'

Just be sure to discard 1.jpg, since it won't contain anything useful.

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.