title: Create ISO image from folder
body: <p>I wrote a script which creates and ISO image from a folder, but when the folder contains spaces, I get an error message. Can somebody please help me? I'm working with Mac OSX Mavericks and Terminal. </p>
  
  <p>Thanks in advance.</p>
  
  <p>Script:</p>
  
  <pre><code>#!/bin/sh
  cd /Volumes/Daten/fake
  for i in ./*; do hdiutil makehybrid -udf -joliet -iso -o /Volumes/Daten/test/$i ./*;done
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>hdiutil: makehybrid: multiple sources specified
  </code></pre>