For my 100th article, I’m gonna give away a program which renames all the files
matching a giving file extension. Useful mainly when you import your photos
from digital cameras where files are given random names. You must provide the
file extension and the new name. Made with Python is published under the terms of the GNU GPL license.
If you have in a directory:
and you provide the following prefix name= barcelona and file extension= jpg the result will be
Imagine when you have more than 500 files to rename. This program renames all the
files in less than a second.
Download the file renombra.txt
rename it to renombra.py
chmod +x renombra.py
./renombra.py (to run it)