dash-separated-format.py update.

This commit is contained in:
2020-10-14 09:49:59 +02:00
parent 13d273fc6f
commit c0e0e45685
+1 -3
View File
@@ -3,9 +3,7 @@ import pathlib
import subprocess
for filename in pathlib.Path('.').glob('**/*.md'):
# f = open(filename)
print('file: %s' % filename)
new_filename = str(filename).lower().replace(' ', '-')
command = ['git', 'mv', filename, new_filename]
command = ['git', 'mv', str(filename), new_filename]
print('would run: %s' % command)
# subprocess.run(command)