5

Tip #574   Directory to iso image

Create an iso image from the contents of a directory:
mkisofs -hide-joliet-trans-tbl -l -J -f -T -r . > "../directory_dump_`basename $PWD`.iso"

When run in a directory (say tmp) it will create a file called directory_dump_tmp.iso one directory higher, which will contain the contents of the tmp directory in it's root.