Closed rhagarty closed 5 years ago
This script worked for me:
import os
source = '.'
files = os.listdir(source)
for f in files:
if f.endswith("rtf"):
print 'Converting ' + f
os.system("python convert_rtf.py " + f)
Ah you are right, I actually used a for loop in bash, and documented it incorrectly in the README. Let me fix it.
python convert_rtf.py *.rtf
does not work. It only works on one file at a time (wildcards not allowed)