Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

dmg splitter ?

 
   Macintosh computer (Home) -> General Discussion RSS
Next:  Weird screensaver issue in Panther - help?  
Author Message
Dimpy

External


Since: Nov 25, 2003
Posts: 15



(Msg. 1) Posted: Tue Nov 25, 2003 7:46 pm
Post subject: dmg splitter ?
Archived from groups: comp>sys>mac>misc (more info?)

Hi, is there a way to split DMG files in Panther OSX? Or maybe even
Panther's own ZIP format too, but i'd love to know about DMG moreso..
(I mean, like splitting a SIT for in Stuffit Deluxe)

Thanks

 >> Stay informed about: dmg splitter ? 
Back to top
Login to vote
Doc OLeary

External


Since: Jul 30, 2003
Posts: 121



(Msg. 2) Posted: Wed Nov 26, 2003 6:08 am
Post subject: Re: dmg splitter ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <251120031646143881%peek@boo.org>, Dimpy <peek.TakeThisOut@boo.org>
wrote:

 > Hi, is there a way to split DMG files in Panther OSX?

No "easy" way, but it is technically possible using hdiutil in Terminal
with something like:

hdiutil convert myImage.dmg -format UDCO -o myImageSegments -segmentSize
100m

If you can't puzzle out how to craft it to your particular needs, check
the man page and ask a followup question.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: dmg splitter ? 
Back to top
Login to vote
Dimpy

External


Since: Nov 25, 2003
Posts: 15



(Msg. 3) Posted: Wed Nov 26, 2003 7:09 pm
Post subject: Re: dmg splitter ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

  > > Hi, is there a way to split DMG files in Panther OSX?
 >
 > No "easy" way, but it is technically possible using hdiutil in Terminal
 > with something like:
 >
 > hdiutil convert myImage.dmg -format UDCO -o myImageSegments -segmentSize
 > 100m
 >
 > If you can't puzzle out how to craft it to your particular needs, check
 > the man page and ask a followup question.

wow! very techie - i'll check this out, thanks.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: dmg splitter ? 
Back to top
Login to vote
Lee Dickey1

External


Since: Nov 29, 2003
Posts: 7



(Msg. 4) Posted: Sun Nov 30, 2003 3:47 pm
Post subject: Re: dmg splitter ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <261120031609338908%peek@boo.org>, Dimpy <peek DeleteThis @boo.org> wrote:
   >> > Hi, is there a way to split DMG files in Panther OSX?

 >wow! very techie - i'll check this out, thanks.

There is a very easy way using the terminal.
The command that splits up a file is called "split".
It works for ANY big file, not just DMG files.
It has been around in the unix world for a long time.
Here is how it works.
You have a big file that you want to cut into smaller pieces.
Suppose its name BIG_STUFF".
Suppose its size is 126 MegaBytes
Suppose you want the size of each piece to be at most 45 Megabytes

You type enter the terminal and change directory so that you
are in the directory where "mystuff.dmg" is. You type his command

  split -b 45m BIG_STUFF

These files are created:
  xaa
  xab
  xac
The sizes of these files will be 45, 45, and 36 MegaBytes, respectively.
There is a limit to the number of output files obtained this way, because
the naming convention goes from xaa to zzz and that gives you
26 times 26 times 3 different file names, and that is the best
you can do with "split".

To put the pieces back together, you could type
  cat xaa xab xac > NEW_BIG_STUFF
The new two version files BIG_STUFF and NEW_BIG_STUFF will be identical.

Going beyond the above example, if you have more than
three pieces to glue together, the cat command can do
that this way:

If you have fewer than 26 pieces:
  cat xa? > NEW_BIG_STUFF
If you have fewer than 676 pieces:
  cat x?? > NEW_BIG_STUFF
If you have more:
  cat x?? y?? z?? > NEW_BIG_STUFF

There is more to know about the cat command.
You can see it by typing "cat man" on the terminal.

--
Prof. Leroy J. Dickey, Faculty of Mathematics, U of Waterloo, Canada N2L 3G1
ljdickey DeleteThis @math.UWaterloo.CA 1-519-888-4567, ext 5559
<font color=purple>  <a style='text-decoration: underline;' href="http://math.uwaterloo.ca/~ljdickey</font" target="_blank">http://math.uwaterloo.ca/~ljdickey</font</a>><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: dmg splitter ? 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> General Discussion All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]