przemowoAnalizator/negativeSongs/appendTxtToFiles.py

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"')