Created
July 9, 2017 22:02
-
-
Save MichaelAquilina/0e51c48fa311ff1a6d79ce67581c7315 to your computer and use it in GitHub Desktop.
Creates a ZIM note with a target date
This file contains hidden or 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 | |
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