Created
April 9, 2021 21:22
-
-
Save ConradMearns/457de12eda9cf029a5c070c7a1f6789b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 glob | |
from pathlib import Path | |
files = glob.glob(".\\**\*.md", recursive=True) | |
for f in files: | |
s = Path(f).stem | |
if s not in open('Index.md').read(): | |
print(f, "not in Index") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment