[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Batch file extract from disk images?
On May 22, 3:33 pm, Andy McFadden <fad...@fadden.com> wrote:
> schmidtd <schmi...@my-deja.com> wrote:
> > I could swear I've done this before with FishWings or AppleCommnder,
> > but I'm not immediately seeing how now. I want to point a batch
> > processor at a big pile of disk images and extract files; typically
> > text and BASIC. CiderPress is perfect at it, but of course I can only
> > do one disk at a time, and requires pointing and clicking. What
> > options are there for batch file extraction?
>
> If you're willing to write code in C++, you can do it with the diskimg
> library. See the "getfile" and "mdc" implementations in the "linux"
> directory. You could also script up "mdc" and "getfile" into some awful
> processing system, but neither program was really meant for that.
>
> My hope is that releasing the disk image library with some sample code
> will allow people to write useful command-line tools for Linux, such as
> batch extractors. C/C++ may not be the best language here though.
> Anybody want to figure out Python bindings? :-)
>
> --
> Send mail to fad...@fadden.com (Andy McFadden) -http://www.fadden.com/
> Fight Internet Spam -http://spam.abuse.net/spam/&http://spamcop.net/
If you've got ruby installed, then dsktool.rb might help. There's a
command line tool (suitable for batch scripting) as will as ruby
modules if you need to do something more esoteric.
http://instiki.jamtronix.com/dsktool/show/Getting+started+with+dsktool
is the start of a howto