Note from porting author: a few issues arised at compiling time, check if the output files
are working before deleting originals.
trdetz the .trd file rummager
ver 0.1b1 by boo_boo [boo_boo(^at^)inbox.ru]
USAGE: trdetz [flags] command [arguments]
Numeric args may be given as [dec], 0x[hex], or 0[oct]
Flags:
-df[=del_file_marker] : handle deleted files (and optionally set deleted file marker, which is '?' by default)
-fs : use num_sectors*256 as file length
Commands:
dinfo <trd> : print disc summary
cat <trd>, [fname] : print catalogue (or single file) info
secread <trd> <bin_fname> <track> <sector> <num_sectors> : copy sectors from trd to binary file
secwrite <trd> <bin_fname> <track> <sector> <num_sectors> : copy sectors from binary file to trd
fread <trd> <fname> [bin_fname] : copy file from trd to binary
fwrite <trd> <bin_fname> [fname] : copy binary file to trd
del <trd> <fname> : delete file from trd catalogue
ren <trd> <old_fname> <new_fname> : rename file in trd catalogue (use with -df to undelete file)
fprop <trd> <fname> <property name> <property value> : change file property
where property name is one of:
start -- for file start adress
flen -- for file length in bytes
nsec -- for file length in sectors
|