-
-
Save rvbhute/474e4276c8eae45f1a4779967c4e654f to your computer and use it in GitHub Desktop.
Bash script to dump task log to a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# time log capture | |
set -e | |
time_stamp=$(date '+%Y-%m-%d %H:%M') | |
details="$@" | |
echo "[$time_stamp] $details" >> ~/Desktop/today.txt | |
notify-send --hint=int:transient:1 "Added log for $time_stamp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment