Create ISO from folder

Sometimes it is necessary to create an ISO image from a folder.  The syntax is below.  Thanks to mattberther.com for the info.

hdiutil makehybrid -o ~/Desktop/image.iso ~/path/to/folder/to/be/converted -iso -joliet