title: Shell script to make many directories
body: <p>I'm trying to create a file hierarchy to store data. I want to create a folder for each data acquisition session. That folder has five subfolders, which are named below. My code attempt below gives an error, but I'm not sure how to correct it. </p>
  
  <p><strong>Code</strong></p>
  
  <pre><code> #!/bin/sh
   TRACES = "/Traces"
   LFPS = '/LFPS'
   ANALYSIS = '/Analysis' 
   NOTES = '/Notes'
   SPIKES = '/Spikes'
  
   folders=($TRACES $LFPS $ANALYSIS $NOTES $SPIKES)
   for folder in "${folders[@]}"
    do
      mkdir $folder
    done
  </code></pre>
  
  <p><strong>Error</strong>
  I get an error when declaring the variables. As written above, <code>bash</code> flips the error <code>Command not found</code>. If, instead, I declare the file names as <code>TRACES = $('\Traces')</code>, <code>bash</code> flips the error <code>No such file or directory</code>.</p>