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
import os | |
import json | |
import time | |
import shutil | |
# Change the variables here according to what is present in your filesystem | |
journey_input_folder = os.path.join(os.environ['HOME'],"Documents","Journey","journey-<hash>") | |
obsidian_output_folder = os.path.join(os.environ['HOME'],"Documents","Journey","FromJourney") | |
obsidian_attachments_folder = os.path.join(os.environ['HOME'],"Documents","Journey", "FromJourney", "attachments") | |
# To convert from Daily Note to python's date format, check this gist out: https://gist.github.com/asafge/0b13c5066d06ae9a4446 |