title: increment directory name in bash
body: <p>I have a bash script whereby i'd like to create a directory with the date and an incremental number upon every boot using date</p>
  
  <pre><code> DATE=$(date +"%d%m%Y")
  </code></pre>
  
  <p>I'd like the output to be 300514-1 then after a reboot 300514-2 and so on but the files need to be stored into that directory that was created ie</p>
  
  <pre><code>SAVEDIR=/home/files/$DATE-*
  </code></pre>