Skip to content

Instantly share code, notes, and snippets.

@RichardLitt
Created July 9, 2016 15:36
Show Gist options
  • Save RichardLitt/82ca87815a19369102b9486322c8452e to your computer and use it in GitHub Desktop.
Save RichardLitt/82ca87815a19369102b9486322c8452e to your computer and use it in GitHub Desktop.
#!bin/sh
FILE="log/$(date +%Y-%m-%d).md"
echo "# $(date +%Y-%m-%d)\n" >> $FILE
cat "daily_routines.md" >> $FILE
echo "\n" >> $FILE
cat "todo.md" | head -5 >> $FILE
## TODO
# - [ ] Send anything from yesterday's ## Tomorrow section into the new day
# - [ ] Select an arbitrary of head tasks from the CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment