title: Moving files from one subdirectory to another
body: <p>I tried moving files from one directory to another and didn't work. so I searched and found an answer that fits what I want. When I run it, modified to my directory, it gives</p>
  
  <p>What is want to do:</p>
  
  <blockquote>
    <p><code>${filename,,*}</code>: bad substitution!</p>
  </blockquote>
  
  <p>This is what I used:</p>
  
  <pre><code>for filename in *; do
    case "${filename,,*}" in
      b01.nii*)    mv "$filename" "$/Users/dave/Desktop/test/untitled_folder_*/str" ;;
      vol_01.nii*) mv "$filename" "$/Users/dave/Desktop/test/untitled_folder_*/rs" ;;
      *)           echo "don't know where to put $filename";;
    esac
  done
  </code></pre>
  
  <p>Thank you</p>