Search code examples
macoshdiutil

Hdiutil files case sensitivity changing in ISO


Running this command to create an iso on macOS:

hdiutil makehybrid -o ~/Desktop/test.iso ~/Documents/files/ -iso

When mounting the iso all files in the directory are in upper case.

How can I stop case-sensitivity from changing with this command?


Solution

  • As suggested by Mark Setchell: the addition of -joliet:

    hdiutil makehybrid -o ~/Desktop/test.iso ~/Documents/files/ -joliet -iso
    

    Maintains case sensitivity when creating the iso.