Skip to content

Instantly share code, notes, and snippets.

@MichaelAquilina
Created July 9, 2017 22:02
Show Gist options
  • Save MichaelAquilina/0e51c48fa311ff1a6d79ce67581c7315 to your computer and use it in GitHub Desktop.
Save MichaelAquilina/0e51c48fa311ff1a6d79ce67581c7315 to your computer and use it in GitHub Desktop.
Creates a ZIM note with a target date
#! /bin/sh
if [ -n "$1" ]; then
echo $1
DATE="$1"
else
DATE="today"
fi
target=$(date +%Y:%m:%d -d $DATE)
zim Notes "TODO:$target"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment