Initial commit of our zim wiki to logseq file converter

This commit is contained in:
benjamin melançon 2024-06-22 22:06:55 -04:00
parent 7d6c04e219
commit 0b5c59b17c

View file

@ -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)