title: Rename certain files recursively in a directory - Shell/Bash script
body: <p>I've searched about everywhere, to come up with this script below. I can't figure out what the issue is here. 
  I'm trying to loop through all the directories inside a directory called Extracted_Source to rename any files that is a CSV with an appended timestamp. 
  Any help is appreciated.</p>
  
  <p>I keep getting a  </p>
  
  <pre><code>No such file or directory./Extracted_Source/*
  </code></pre>
  
  <p>Below is the source: </p>
  
  <pre><code>for files in ./Extracted_Source/*
  do if ["$files" contains ".csv"]
  then mv "$files" "${files%}_$(date "+%Y.%m.%d-%H.%M.%S").csv";
  fi done; echo end
  </code></pre>