This is a file renamer python script that renames files in a specified folder based on a specific naming convention. It extracts information such as date and name from the original file names and creates a new standardized file name.
- Supports renaming files with date and name pieces of information.
- Converts both abbreviated and full month names to the numeric format.
- Creates a new folder ("Renamed Folder") inside the specified folder and copies the renamed files into it.
- Run the script by executing the
FileRenamer.py
file. - A file dialog will appear, prompting you to select the folder containing the files you want to rename.
- The script will create a new folder named "Renamed Folder" inside the selected folder and copy the renamed files into it.
Original file name: 21 Feb 2019 - Shihab Hashib.xlsx
Renamed file name: 21-02-2019-Shihab-Hashib.xlsx
- Python 3.x
tkinter
library (usually included with Python installations)
- Install Python from python.org.
- Open a terminal or command prompt.
- Navigate to the directory containing the script.
- Run the script with the command:
python FileRenamer.py
This project is licensed under the MIT License.