przemowoAnalizator/negativeSongs/appendTxtToFiles.py
emilekm2142 0340c3426a final
2020-01-09 21:13:45 +01:00

6 lines
183 B
Python

import sys, glob, os
files = glob.glob('**/*', recursive=True)
for f in files:
if os.path.isfile(f):
print(f'mv "{f}" "{f}.txt"')
#os.system(f'mv "{f}" "{f}.txt"')