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}"
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}"
本文标题:如何转换.dmg到.iso
本文链接:https://www.haomeiwen.com/subject/qwvdqxtx.html
网友评论