A new copy command that copies a file on a disc image, either to another name on the same image or to a different image entirely.
Use case
Copying files between disc images is a routine step when assembling game compilations, preparing utility discs, or backing up individual files. Currently the only way to do this is to extract a file and then add it to another image, losing embedded metadata unless .inf sidecars are used. A direct copy preserves all attributes (load address, exec address, locked status) without intermediate files.
Proposed behaviour
beebtools copy mydisc.ssd T.MYPROG T.BACKUP
beebtools copy source.ssd T.LOADER T.LOADER --to-image dest.ssd
Works on both DFS and ADFS images.
A new
copycommand that copies a file on a disc image, either to another name on the same image or to a different image entirely.Use case
Copying files between disc images is a routine step when assembling game compilations, preparing utility discs, or backing up individual files. Currently the only way to do this is to extract a file and then
addit to another image, losing embedded metadata unless.infsidecars are used. A direct copy preserves all attributes (load address, exec address, locked status) without intermediate files.Proposed behaviour
Works on both DFS and ADFS images.