Skip to content

Instantly share code, notes, and snippets.

@greyhoundforty
Created December 30, 2015 20:42
Show Gist options
  • Save greyhoundforty/255e176b205eefb1a52f to your computer and use it in GitHub Desktop.
Save greyhoundforty/255e176b205eefb1a52f to your computer and use it in GitHub Desktop.
Log @done taskpaper tasks to Day One and, archive the completed tasks and clear the archive
#!/usr/bin/env bash
grep '@done' ~/Dropbox/Listacular/weeklyschedule.taskpaper|tr -d \"\\t\" |/usr/local/bin/dayone new
/usr/bin/osascript ~/Library/Scripts/Applications/TaskPaper/move_to_archive.scpt
/usr/bin/osascript ~/Library/Scripts/Applications/TaskPaper/clear_archive.scpt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment