Make Image from Folder – Service

Why and how to create and work with a disk image (e.g. .dmg) with the (to be former) content of a folder.


To create a digital archive of contents that:

  1. Is only ONE file (.dmg) instead of hundred, thousands, tens- to maybe even hundred of thousands of small files (if dealing with e.g. software sources or forensics test materials……)
    1. Easier and quicker to deal with one single file than lots of files.
    2. Better for handling big Dropbox-handled systems

  2. Excludes files from regular Spotlight searches. Ok, this can be viewed as both pros and cons but in case of more readily access to content in also searches, look at some digital asset management solution like NeoFinder. More in our Digital Asset Management (DAM) section.
  3. Easy TO access actual content and files by simply mount an image



  1. Do Show Info on folder ‘X’, and (this is to create at least some small guidance to content within the image to be created)
    1. Take a screenshot of info dialog
    2. Copy text of size of data (e.g. 4,338,697,013 bytes (4.49 GB on disk) for 12,578 items)
    3. Add text to screenshot
    4. Example of intended result:
      ‘2020-11-03 16.56.47 4,338,697,013 bytes (4.49 GB on disk) for 12,578 items.png’
  2. Actually make an image from folder ‘X’ content
    • NOTE: IF making it read-write, you can continue to edit content, including adding screenshot from above onto the image (after mounting it), nice to have part of image as some indication of ‘dimensions’ of total content.
    • Resulting in a file ‘X.dmg’
    • Can use macOS Disk Utility or J&P’s Make Image from Folder – script
  3. VERIFY image contains content of folder ‘X’
    1. Mount image, makes sure it opens fine
    2. Look at content of mounted volume, if really concerned, use some tool to look at details
    3. Consider copying screenshot from first step onto mounted volume.
  4. Make an alias of MOUNTED image root
  5. Remove contents INSIDE folder ‘X’
    • Not removing the actual folder to avoid breaking any aliases to it.
  6. Move new content into folder ‘X’
    1. Screenshot file from first step.
    2. Image file (‘X.dmg’)
    3. Alias file of mounted volume
    4. Resulting into a new folder with content (e.g.):
  7. DONE. Result is a folder – same as originally, thus not breaking any alias/references, like possibly in Dock. E.g.:
    1. Folder content:
    2. And even alias into Volume works (as long as volume is mounted, of course)

      (Note that this volume DO have screenshot file in both the online folder and the mounted volume/inside the image. Which is read-write.)