note.sh
December 3, 2020 ยท View on GitHub

note.sh
A simple shell script for managing your random daily notes. Every time you
run note.sh it opens a Markdown file for that day. For example, if today was
Dec 2, 2020, it would create a Markdown file called 2020-12-02.md in your
notes directory.
This script was heavily inspired by todo.txt-cli.

Features
- Simple: 1 Bash script, 1 environment variable and 1 symlink.
- Markdown.
- Search notes.
- Sync notes across multiple computers.
Setup
-
Configure and export
NOTE_DIRenvironment variable. Add the environment variableNOTE_DIRto your shell's RC file:export NOTE_DIR=$HOME/NotesTo sync across multiple computers, I put my notes directory inside of my Dropbox folder:
$HOME/Dropbox/Notes. -
Symlink script to your
/usr/local/bin.$ make installTo remove the symlink run:
make uninstall.