Bash Script Date and Time
1 min read
bash
Written in 2020. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/bash-script-date-and-time-playground.
examples of working with formatted dates in bash including time operations such as adding time
see main.sh
Running
chmod a+x main.sh
fswatch -o main.sh | xargs -n1 -I{} sh main.sh