Splitting a disk image into more than 1 file

Discussion in 'Mac Apps and Mac App Store' started by jamdr, Jan 30, 2005.

  1. jamdr macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #1
    If I have a disk image that is 600MB is it possible to split it into two parts of 300MB? Can Disk Utility do this or is there another free program that does this?
     
  2. abhishekit macrumors 65816

    abhishekit

    Joined:
    Nov 6, 2003
    Location:
    akron , ohio
    #2
    you can split it but then you have to join the two before mounting.
    To split a file called file1.dmg(of 600 mb) into 300mb parts, open the terminal and write
    split -b 300m file1.dmg fileNew

    This would split it in two parts called fileNewaa and fileNewab.

    Then to join the two parts, write
    cat fileNewaa fileNewab > fileNew.dmg

    This would join the two in one file again called fileNew.dmg

    cheers
     
  3. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #3
    There used to be a GUI utility for this called DMGscissor - sadly, it seems to have completely disappeared. It was maintained by a .Mac member - I wonder what happened to it.

    Oh well, guess I'll have to use the Terminal for now, like abhishekit suggested.
     

Share This Page