Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# import a directory into a case-sensitive DMG
hdiutil create -srcfolder "${dir}" -autostretch -fs JHFS+X temp.dmg
hdiutil attach -mountpoint "${dir}-caseSensitive" temp.dmg
# JHFS+X == journalled, case-sensitive.
# DMG is initially the directory size, but can grow as needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.