A simple, flexible tool for bulk renaming files based on customizable patterns. Ideal for photographers, content managers, developers, and anyone handling large batches of files needing consistent naming conventions.
- Custom Prefix: Easily add personalized prefixes to your filenames.
- Date Formatting: Automatically insert dates into filenames using your preferred format (e.g.,
YYYY-MM-DD
like2025-04-26
). - Sequential Numbering: Add incremental numbers to files to maintain order and uniqueness.
- Dual Interfaces: Choose between:
- A user-friendly graphical interface (GUI) built with Python and Tkinter.
- A scriptable command-line interface (CLI) using PowerShell for automation.
- Lightweight and Fast: Designed with minimal dependencies for quick and efficient operation.
Choose the version that best suits your workflow:
- Install Python: Ensure you have Python 3.x installed. Download it from python.org.
- Check Tkinter: Tkinter is usually included with standard Python installations on Windows and macOS. On some Linux distributions, you might need to install it separately (e.g.,
sudo apt-get update && sudo apt-get install python3-tk
on Debian/Ubuntu). - Clone the repository:
Alternatively, download the repository files as a ZIP and extract them.
git clone [https://github.com/SmaRTy-Saini/Bulk-File-Renamer.git](https://github.com/SmaRTy-Saini/Bulk-File-Renamer.git) cd Bulk-File-Renamer
- Run the script:
python bulk-file-renamer.py
- Open PowerShell: Launch PowerShell on your Windows machine.
- Get the Script: Clone the repository (as shown above) or download
bulk_rename.ps1
. - Navigate to the script's directory:
# Example: Replace 'path\to\Bulk-File-Renamer' with the actual path cd C:\path\to\Bulk-File-Renamer
- Run the script:
Note: If you encounter an error about script execution being disabled, you may need to adjust your PowerShell execution policy. You can allow scripts for the current user by running:
./bulk_rename.ps1
Run PowerShell as Administrator if needed for this command.Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- Launch the application (
python bulk-file-renamer.py
). - Click "Select Folder" to choose the directory containing the files you want to rename.
- Configure the renaming options:
- Enter a Prefix (optional).
- Enable and configure Date Formatting (optional).
- Enable and configure Sequential Numbering (optional).
- (Recommended) Review the proposed new filenames in the Preview section.
- Click "Bulk Rename" to apply the changes to the files in the selected folder.
- Open the
bulk_rename.ps1
script in a text editor (like VS Code, Notepad++, or Notepad). - Modify the script parameters near the top (e.g.,
$targetFolder
,$prefix
, date/numbering settings) according to your requirements. - (Advanced) For more complex automation, you can modify the script to accept command-line arguments instead of editing the file directly.
- Save the changes and run the script from PowerShell as described in the Installation section.
Bulk-File-Renamer/
├── bulk-file-renamer.py # Python GUI version using Tkinter
├── bulk_rename.ps1 # PowerShell CLI version
├── LICENSE # Project's License file
└── README.md # This documentation file
This project is licensed under the MIT License. See the LICENSE file for full details.
Built with ❤️ by SmaRTy Saini Corp.