As per this SuperUser answer:
Native hdiutil
hdiutil makehybrid -iso -joliet -udf -udf-version 1.02 -default-volume-name "VOLUMENAME" -o OUTPUT.iso /path/to/INPUT_FOLDERCode language: Shell Session (shell)
mkisofs
First, make sure you have mkisofs installed. It’s part of cdrtools:
brew install cdrtoolsCode language: Shell Session (shell)
Then have it generate a Video-DVD image:
mkisofs -f -dvd-video -udf -V VOLUMENAME -o OUTPUT.iso /path/to/INPUT_FOLDER
VOLUMENAME needs to be all uppercase and with underscores instead of spaces.
Likes