title: How to increment a date in a Bash script
body: <p>I have a Bash script that takes an argument of a date formatted as yyyy-mm-dd.</p>
  
  <p>I convert it to seconds with</p>
  
  <pre><code>startdate="$(date -d"$1" +%s)";
  </code></pre>
  
  <p>What I need to do is iterate eight times, each time incrementing the epoch date by one day and then displaying it in the format mm-dd-yyyy.</p>