Skip to content

Instantly share code, notes, and snippets.

@peterkappus
Last active August 29, 2015 14:11
Show Gist options
  • Save peterkappus/4c9d82b7fb608b24db92 to your computer and use it in GitHub Desktop.
Save peterkappus/4c9d82b7fb608b24db92 to your computer and use it in GitHub Desktop.
Simple command line logger/todo adder
#handy bash functions to easily add things to text files
#todo list
td() { echo $@ >> /path/to/your/todo.txt; }
#log (with date time stamp)
log() { echo $(date) $@ >> /path/to/your/log.txt;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment