Script for automatic file renaming according to a template.
Developed a Python script for automatic renaming of all files in a specified folder according to a given pattern with a numeric counter.
The script supports:
- User input of the folder path,
- Use of a filename pattern with the # symbol as a placeholder for file numbers,
- Automatic preservation of file extensions if not specified in the pattern,
- Sorting files before renaming for sequential numbering.
This tool is perfect for organizing large volumes of files, saving time and reducing manual work.
Technologies: Python, standard libraries (os, re).
The script supports:
- User input of the folder path,
- Use of a filename pattern with the # symbol as a placeholder for file numbers,
- Automatic preservation of file extensions if not specified in the pattern,
- Sorting files before renaming for sequential numbering.
This tool is perfect for organizing large volumes of files, saving time and reducing manual work.
Technologies: Python, standard libraries (os, re).