diff --git a/zimwiki-txt-to-logseq-md.py b/zimwiki-txt-to-logseq-md.py new file mode 100644 index 0000000..5856591 --- /dev/null +++ b/zimwiki-txt-to-logseq-md.py @@ -0,0 +1,10 @@ +import os + +def rewrite_file(filepath): + with open(filepath, 'r') as f: + contents = f.read() + + +for filepath in os.listdir(): + if file.endswith(".txt"): + rewrite_file(filepath)