mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
10 lines
No EOL
266 B
Python
10 lines
No EOL
266 B
Python
import os
|
|
|
|
suffix = "_french"
|
|
|
|
for folder in os.walk("."):
|
|
for filename in folder[2]:
|
|
if suffix in filename:
|
|
filename = os.path.join(folder[0], filename)
|
|
print filename
|
|
os.rename(filename, filename.replace(suffix, "")) |