This script takes .rtf files, converts them to Python strings, exports the strings as .txt files, and changes the filetype from .txt to .md
Fill out the "info" diciontary in main.py:
info = {
'in_folder' : "[location of incoming files]",
'mid_folder': "[location of intermediary files]",
'out_folder': "[location of final files (may be same as intermediary)]",
'oldType' : "[incoming file extension, i.e. '.rtf']",
'midType' : "[intermediary file extension, i.e. '.txt']",
'newType' : "[final file extension, i.e. '.md']"
}
To convert rich text files, exported from a previous journaling program, to markdown for a current journaling program. Intended to be modular so that different starting file types are possible with the addition of various functions. For example, use a .docx-to-.txt script and then this script's .txt-to-.md features.