Path: | bin/dsktool.rb |
Last Update: | Sat Aug 25 16:31:17 AUS Eastern Standard Time 2007 |
dsktool.rb
Manipulate DSK format files (as used by Apple 2 emulators)
dsktool.rb [switches] <filename.dsk>
-c | --catalog display catalog -e | --extract FILENAME extract file by name (either to stdout, or file specified by --output) -h | --help display this message -d | --dump FILENAME hex dump -l | --list FILENAME monitor style listing (disassembles 65C02 opcodes) -o | --output FILENAME specify name to save extracted file as -r | --raw don't convert basic files to ASCII -x | --explode extract all files -v | --version show version number Currently only works with DOS 3.3 and NADOL format DSK images Will uncompress gzipped files (with extension .gz) input files can be URLs
examples:
dsktool.rb -c DOS3MASTR.dsk.gz dsktool.rb -l FID DOS3MASTR.dsk dsktool.rb --list fid -o fid.lst DOS3MASTR.dsk dsktool.rb --extract "COLOR DEMOSOFT" DOS3MASTR.dsk dsktool.rb -e HELLO -o HELLO.bas DOS3MASTR.dsk dsktool.rb -x DOS3MASTR.dsk.gz dsktool.rb -x DOS3MASTR.dsk.gz -o /tmp/DOS3MASTR/ dsktool.rb -c http://jamtronix.com/dsks/apshai.dsk.gz
DSKTOOL_VERSION | = | "0.2.1" |
dsktool.rb
SynopsisManipulate DSK format files (as used by Apple 2 emulators) Usagedsktool.rb [switches] <filename.dsk> -c | --catalog display catalog -e | --extract FILENAME extract file by name (either to stdout, or file specified by --output) -h | --help display this message -d | --dump FILENAME hex dump -l | --list FILENAME monitor style listing (disassembles 65C02 opcodes) -o | --output FILENAME specify name to save extracted file as -r | --raw don't convert basic files to ASCII -x | --explode extract all files -v | --version show version number Currently only works with DOS 3.3 and NADOL format DSK images Will uncompress gzipped files (with extension .gz) input files can be URLs examples: dsktool.rb -c DOS3MASTR.dsk.gz dsktool.rb -l FID DOS3MASTR.dsk dsktool.rb --list fid -o fid.lst DOS3MASTR.dsk dsktool.rb --extract "COLOR DEMOSOFT" DOS3MASTR.dsk dsktool.rb -e HELLO -o HELLO.bas DOS3MASTR.dsk dsktool.rb -x DOS3MASTR.dsk.gz dsktool.rb -x DOS3MASTR.dsk.gz -o /tmp/DOS3MASTR/ dsktool.rb -c http://jamtronix.com/dsks/apshai.dsk.gz |