1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 17:55:19 +03:00
opentx/radio/util/capitalize.py
2015-07-04 17:22:13 +02:00

8 lines
139 B
Python
Executable file

#!/usr/bin/env python
import glob, os
for f in glob.glob("*.bmp") + glob.glob("*.BMP"):
t = f.title()
if f != t:
os.rename(f, t)