Simple script to log hours (service hours, work hours, etc.)
a
- add an entryNd
- remove an entry (N being entry's line number)Nc
- edit an entry- you can add an entry with your $EDITOR/xdg-open editor by using
Nc
on the next empty line
- you can add an entry with your $EDITOR/xdg-open editor by using
p
- list entriesn
- list entries with line numberse
- switch current fileo
- organize entries by month + dayt
- output total amount of hoursq
- exit
By default, the script creates a file named "hrs" to store logged hours. You can use a different file by passing it as an argument, e.g. ./hours.sh ~/hoursfile
.