Convert Apple DiskCopy 4.2 images to standard disk images: Difference between revisions
From Computers Wiki
Jump to navigationJump to search
(Add Classic Mac OS category) |
(→Convert a directory of files: Add missing quotes) |
||
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> |
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