如何转换.dmg到.iso
2017-06-13 本文已影响0人
秦枫桀
macOS下,执行下面脚本:
#########################
dmg="/path/to/file.dmg"
iso="/path/to/file.iso"
#########################
# convert .dmg to .cdr
hdiutil convert "${dmg}" -format UDTO -o "${iso}"
# rename .cdr to .iso
mv -f "${iso}.cdr" "${iso}"