2013年11月1日金曜日

Mac OS X: 如何拆分一个DMG文件(Split/Segmnt DMG file)

http://blog.csdn.net/cneducation/article/details/3804532

很简单的一个问题,如果你知道Terminal命令:

hdiutil segment -o <outputfile> -segmentCount <num> [options] <imagefile>
hdiutil segment -o -segmentSize [options]

只要把上面的命令中的换成目标文件名,/换成想要的数值,最后换成原来的DMG文件。

例如:
hdiutil segment -o ~/Desktop/New -segmentSize 4000m ~/Desktop/My.dmg
就会按照不超过4000MB的限制生成诸如: New.dmg, New.002.dmgpart, ......

0 件のコメント: