I have a DMG copy of my CF card from my camera... it has RAW images from Dec. and Jan. and I want to break it into two smaller DMG images... one with the images from Dec. and one with the images of Jan.
The combined DMG is 24GB and read only. I made a copy to work on it.
I first converted it to a RW DMG using hdiutil in terminal.
The combined RW DMG is 32GB (bigger
).
I then mounted it, deleted the unwanted images, (the DMG now shows 21GB available when mounted), emptied the trash and unmounted it.
Of course the RW DMG is still 32GB, but the contents now only consume less than 12GB.
How do I resize the DMG from 32GB to 12GB?
If I use hdiutil to resize, it gives me an error "hdiutil: resize request is below minimum size allowed" (It won't accept any size... 12g, 24g, anything less than the new bloated 32g size!).
So now what?
The combined DMG is 24GB and read only. I made a copy to work on it.
I first converted it to a RW DMG using hdiutil in terminal.
The combined RW DMG is 32GB (bigger
I then mounted it, deleted the unwanted images, (the DMG now shows 21GB available when mounted), emptied the trash and unmounted it.
Of course the RW DMG is still 32GB, but the contents now only consume less than 12GB.
How do I resize the DMG from 32GB to 12GB?
If I use hdiutil to resize, it gives me an error "hdiutil: resize request is below minimum size allowed" (It won't accept any size... 12g, 24g, anything less than the new bloated 32g size!).
So now what?
Last edited: