This Python script automates the process of renaming files within a specified directory on the desktop. The script replaces the original names with a sequential specified start count and a constant specified file extension.
-
Clone the repository:
git clone https://github.com/0xKingsman/Sequential-File-Renamer.git cd Sequential-File-Renamer
-
Run the script:
python Renamer.py
-
Wolah! The script has successfully replaced the original names of the files in the specified directory with a sequential specified start count and a constant specified file extension.
After the renaming process, the script outputs a confirmation message and displays the new names of all files in the specified directory.
Edit the following variables in Renamer.py
to customize the word replacement:
- Change "C:/Users/admin/Desktop/" to your directory
- "count = 1" # specify number to start the count
- ".png" # specify the file extension on line 12
Buy Author A Coffee Hehe
BTC: bc1qmdrd7vlq99v9vdr9a9lzxaxkthyjdh8y3czl55
LTC: LKzUMUPo5VQSYgghqH7hWqShzN1hS8PcUr
ETH: 0x55E0FD0619Cf4Aa0052E817D078887655D9E4EaD
TRX: TJoVX5iiQAfVsFCJfMUPBgWLyUYbaydRdq
DOGE: DHzPGfUYqP5UV36wCuDqimEZZEQt44kYmk
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to contribute by submitting issues or pull requests.
If you have any questions, feel free to reach out to the project owner:
- GitHub: Kingsman
Happy coding!