|
|
Dividing up a .dmg
|
|
|
|
Senior User
Join Date: Feb 2003
Location: Pittsburgh, PA
Status:
Offline
|
|
I have a 6.12gig dmg file that I need to split up onto a couple of single layer DVDs. I did a little bit of googleing but this doesn't seem to be as common a problem as I would have thought.
(
Last edited by indigoimac; Mar 24, 2007 at 02:07 PM.
)
|
15" MacBook Pro 2.0GHz i7 4GB RAM 6490M 120GB OWC 6G SSD 500GB HD
15" MacBook Pro 2.4GHz C2D 2GB RAM 8600M GT 200GB HD
17" C2D iMac 2.0GHz 2GB RAM x1600 500GB HD
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
Read the man page of hdiutil. The convert command has a -segmentSize argument that allows you to segment a disk image.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Feb 2003
Location: Pittsburgh, PA
Status:
Offline
|
|
Originally Posted by TETENAL
Read the man page of hdiutil. The convert command has a -segmentSize argument that allows you to segment a disk image.
Thanks, reading now.
|
15" MacBook Pro 2.0GHz i7 4GB RAM 6490M 120GB OWC 6G SSD 500GB HD
15" MacBook Pro 2.4GHz C2D 2GB RAM 8600M GT 200GB HD
17" C2D iMac 2.0GHz 2GB RAM x1600 500GB HD
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Apr 2004
Status:
Offline
|
|
alternately, if the point is merely to split them so that they can be transfered via dvd and reassembled at the other end, 'split' would be an option as well. something like
split -b 4000m diskimage.dmg
should produce two out files (the first about 4GB, the second the remaining 2GB or so) that can be recombined at the other end with a
cat file1 file2 > fullfile
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
The advantage of hdiutil is that on the back end all you have to do is double-click on the first segment and they'll all join automatically.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
|
"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Apr 2004
Status:
Offline
|
|
true. the advantage of split is that it works on any file, not just disk images. of course, you could encapsulate the other file in a disk image...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|