mirror of
https://github.com/flancian/garden.git
synced 2026-08-06 14:36:18 +00:00
dash-separated-format.py update.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user