Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2010 1 1 00 00 00
- 2010 1 1 00 20 00
- 2010 1 1 00 30 00
- 2010 1 1 00 40 00
- 2010 1 1 01 00 00
- 2010 1 1 01 20 00
- 2010 1 1 01 30 00
- 2010 1 1 01 40 00
- ...
- 2010 2 1 00 00 00
- startdate=2010-01-01-00-00-00
- enddate=2010-02-01-00-00-00
- curr="$startdate"
- while true; do
- echo "$curr"
- [ "$curr" < "$enddate" ] || break
- curr=$( date +%Y-%m-%d-%H-%M-%S --date "$curr +10 minutes" )
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement