33
8
I've got .cdr
file format (not CorelDRAW file), however I've trouble opening/burning it. I expect it to be the disk image. Here are the first few lines:
$ hexdump -C *.cdr | head
00000000 45 52 02 00 00 70 00 00 00 00 00 00 00 00 00 00 |ER...p..........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200 ...
$ hdiutil imageinfo *.cdr
hdiutil: imageinfo failed - image not recognized
In what kind of format is this file?
I've checked Magic numbers in files article on Wikipedia, but it's not listed there.
19The
file
command is made specifically to recognize file types by looking at the magic bytes. – Daniel B – 2018-02-03T23:19:39.1271It very well could be a disk image: .CDR is a disc image created on a Macintosh computer using the built-in Disk Utility program; may contain multiple folders and files in a single disc image file that can be burned to a CD; similar to an .ISO file created on a Windows computer. – Keltari – 2018-02-03T23:17:10.200
If it is a disk image,
.cdr
files can be renamed to.iso
and be recognized as an ISO9660 CD-ROM image. – Thorbjørn Ravn Andersen – 2018-02-04T23:18:46.360was 30 seconds late :) on OsX the disk image is usually named .cdr but it is in fact a standard ISO 9660. Used this fact to move data from Mac to PC – Giovanni Valerio – 2018-02-04T23:21:05.337
@GiovanniValerio Really? I always have known
.dmg
files to be macOS disk images. Perhaps on an older version of the OS? – JakeGould – 2018-02-04T23:51:38.3503.cdr is used when one creates a CD/DVD master and uses the ISO9660 standard / .dmg is used to store/distribute OsX software/data, and can be compressed and encrypted – Giovanni Valerio – 2018-02-05T00:02:11.863
@GiovanniValerio Ahh! Good to know. – JakeGould – 2018-02-05T03:31:38.593
1Not all cdrom image files will be .iso format.... – rackandboneman – 2018-02-05T20:17:11.840