git clone https://github.com/stefanzweifel/up-to-dayone.
If you don't use the default folder structure (
Dropbox/Apps/up-export/up-logs/) you can open the file
toDayone.sh and modify the variable
LOGDIR to your needs. Specify the folder where your logs are stored. Keep in mind that the path is relative to the
If everything is setup correctly you can now execute the script from the terminal with the following command:
The script will
cd into the directory and extract the entry date by the filename. DayOne does the Markdown Magic™.
You could automate the execution of the script, but I like it simple (and I don't know how to do it :)).
Personally, I use a simple Alfred Workflow to execute the script.