I store my journal in a single folder like this:
π journal
π 2014-04-18.txt
π 2014-04-19.txt
π 2014-04-20.txt
π 2014-04-21.txt
π ...
If you do too, journ is for you.
- Put the
journexecutable somewhere in your $PATH. - Set the
$JOURN_PATHenvironment variable (probably in your bashrc). This should be the path of a folder where all of your journal files will live.
# Edit today's file
journ
# Edit yesterday's file
journ -y
# Edit today's file in another editor
EDITOR=atom journ
# Print the path to today's file
journ -f
# Print $JOURN_PATH
journ -p
# Print the number of entries
journ -cThat's it!