user
04/07/2022, 2:21 AMpython
import os
import shutil
path = os.getcwd()
md_list = []
dst = path + "/references/"
for root, dirs, files in os.walk("./", topdown=True):
    for filename in files:
        #print(os.path.join(root, filename))
        if not filename.endswith('.md'):
            md_list.append(os.path.join(root,filename))
for md in md_list:
    #if not os.path.isfile(md):
    try:
        shutil.move(md, dst)
    except Exception as e:
        print(f"An error was raised but the script will continue: {e}")
        continue
I tried the Import Markdown pod again and still got the exceeds maximum call stack error.
However, I tried it on a single directory and it worked except for a file it couldnt resolve.
Ill open a bug report and continue to dig into the issue.