mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 11:29:51 +03:00
9 lines
153 B
Python
Executable file
9 lines
153 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import glob
|
|
import os
|
|
|
|
for f in glob.glob("*.bmp") + glob.glob("*.BMP"):
|
|
t = f.title()
|
|
if f != t:
|
|
os.rename(f, t)
|