Last active
July 19, 2016 00:01
-
-
Save yuchunc/3d515412aee10e4b7aedb481e4105438 to your computer and use it in GitHub Desktop.
Journal Script
This file contains 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
year=$(date +%Y) | |
month=$(date +%m) | |
date=$(date +%Y-%m-%d) | |
j_dir="~/Dropbox/daily_journal/$year/$month" | |
j_file="~/Dropbox/daily_journal/$year/$month/$date" | |
alias wj="mkdir -p $j_dir && cp ~/Dropbox/daily_journal/template $j_file && vim $j_file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment