5 lines
145 B
Plaintext
5 lines
145 B
Plaintext
import sys, glob, os
|
|
files = glob.glob('**/*', recursive=True)
|
|
for f in files:
|
|
if os.path.isfile(f):
|
|
os.system(f'mv "{f}" "{f}.txt"') |