I have a Bash script that takes an argument of a date formatted as yyyy-mm-dd.
I convert it to seconds with
startdate="$(date -d"$1" +%s)";
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.