Skip to content

Instantly share code, notes, and snippets.

@josephwegner josephwegner/jrnl

Created Jan 14, 2020
Embed
What would you like to do?
jrnl
#!/bin/bash
JRNL_DIR="/Your/Dropbox/Or/Drive/Or/Whatever/notes/day_journals/`date +%Y/%m`"
mkdir -p "$JRNL_DIR"
JRNL_FILE="$JRNL_DIR/$(date +%d).txt"
touch "$JRNL_FILE"
vim + "$JRNL_FILE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.