2 votes
Accepted

Bash loop through dates

don't know if I understood the question right but you could do something like that: #!/bin/bash start=2016-01-01 end=2022-01-01 while ! [[ $start > $end ]]; do DATEBEGIN="$start" start=...

Only top scored, non community-wiki answers of a minimum length are eligible