File size: 297 Bytes
a67ae61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'''
convert all .tex extions to .md
'''

from pathlib import Path

cwd = Path.cwd();


writ_Fold = cwd/"Data/1_Writing"

for iF,ct_File in enumerate(Path(writ_Fold).rglob('*.md')):
    # print(ct_File.name)
    
    # convert all .tex extions to .md
    ct_File.rename(ct_File.with_suffix('.qmd'))