date="2015-09-23"enddate='2015-11-08'while [[ $date < $enddate ]] do date=`date -d "+1 day $date" +%Y-%m-%d` echo $datedone