title: print date in loop per hour with bash script
body: <p>I would like to write a bash script that prints out the date in the following format:</p>
  
  <pre><code>20120205_16
  (year)(month)(day)_(24 hour)
  </code></pre>
  
  <p>so the command to do this for the current date is:</p>
  
  <pre><code>date +'20%y%m%d_%H'
  </code></pre>
  
  <p>What i would like to do is print every date like this (using a for loop or something) from a specified date to another. For example:</p>
  
  <pre><code>20120205_16 -&gt; 20120305_18 would be:
  
  20120205_16
  20120205_17
  20120205_18
  ...
  20120305_17
  20120305_18
  </code></pre>
  
  <p>Obviously the two hard bits here are specifying the date and incrementing by hour.</p>
  
  <p>Is it possible to do this easily with date or another method?</p>