Convert Apple DiskCopy 4.2 images to standard disk images: Difference between revisions

From Computers Wiki
Jump to navigationJump to search
(Create page)
 
(→‎Convert a directory of files: Add missing quotes)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
for f in *.image
for f in *.image
do
do
tail --bytes=+85 $f > "extracted/$f"
tail --bytes=+85 "$f" > "extracted/$f"
done
done
</syntaxhighlight>
</syntaxhighlight>
Line 22: Line 22:


[[Category:Guides]]
[[Category:Guides]]
[[Category:Classic Mac OS]]

Latest revision as of 01:14, 21 March 2023

To convert an Apple DiskCopy 4.2 image (detectable by the file utility), you need to ignore the first 0x54 (decimal 84) bytes of the file.[1]

Cookbook

Convert one file

tail --bytes=+85 filename

Convert a directory of files

for f in *.image
do
    tail --bytes=+85 "$f" > "extracted/$f"
done

References