title: Backup Yesterday Files in Folder
body: <p>I develop following script to gzip yesterday files in a directory, any improvements suggestions</p>
  
  <pre><code>Yesterday=`TZ=GMT+24 date +%d-%b-%y`;
  mkdir $Yesterday
  mv /tmp/logs/servicemix.log.* /tmp/logs/$Yesterday
  for File in /tmp/logs/$Yesterday/app.log.*;
  do gzip $File;
  done
  </code></pre>
  
  <p>Regards</p>