Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hdiutil]

The tag has no usage guidance.

3
votes
1answer
41 views

Attach one .dmg file on different computers at the same time (hdiutil attach)

I have a question about "hdiutil attach" I've "created" (ctrl+c/ctrl+v) one bash script to execute some .app automatically. First im mounting shared folder: mount_smbfs -o nobrowse //SERVER/share "...
1
vote
1answer
115 views

How to remove files from a sparsebundle file (previous Time Machine image)?

I have a sparsebundle file that I pulled off of an old Time Machine backup disk. I'd like to save the file if possible, but remove the media files from it (movies, music, etc.) because those are ...
0
votes
0answers
10 views

hdiutil: create: WARNING: -segmentSize ignored since -srcdevice not specified

I'm trying to create an encrypted DMG while making it segmented. echo pass | hdiutil create -encryption -stdinpass -srcfolder somefolder -format UDBZ -segmentSize 3G ~/Desktop/some-output But the -...
1
vote
0answers
14 views

Making a disk image of an exFat SD card slower than copying

I'm curious why when using hdiutil I am getting such slow speeds when creating a .dmg of an SD card formatted in exFat. It takes about 10 times longer to create a disk image of the SD card then to ...
4
votes
0answers
163 views

Can I change a read/write .dmg file to read-only without copying?

I'm working on some automation for ingesting media from camera cards. I am using hdiutil to create a blank disk image, then copy the contents of the camera card onto that disk image. Then I'd love ...
3
votes
1answer
317 views

Create dmg file on macOS 10.14 that can be opened on macOS 10.11

Running $ hdiutil create -size <size>b <.dmg-file> -srcfolder <directory> -ov -format UDBZ on macOS 10.14 creates a dmg file that can't be opened on macOS 10.11. Is there an option ...
3
votes
0answers
425 views

Converting iso to img but hdiutil doesn't recognize iso file

I am trying to convert a iso file to img file using the hdiutil command in the cli terminal but it seems my hdiutil won't recognize the iso. hdiutil convert /mypathdir/ubuntu-16.04.4-desktop-amd64....
1
vote
0answers
2k views

How to Mount a Sparsebundle Disk Image from Time Machine Backup?

I have several sparse bundle disk images on my system, used for various purposes (mostly to prevent Time Machine from backing up the entirety of very large files). However, I'm planning to ...