$0+

File Renamer

I want this!

File Renamer

$0+
🐍 File Renamer: Bulk Renaming Script for Photos and Files

📌 Overview

This Python script helps you rename multiple files (like photos) at once. It allows you to:
	•	Add a custom name to your files.
	•	Optionally include the current date in the filename.
	•	Add a number sequence (e.g., 001, 002, 003, etc.).
	•	Rename only specific file types (like .jpg, .png, etc.).
	•	Keep a backup of original filenames, so you can restore them later.

🚀 Features
	•	Customizable Naming: Choose a name that will be used as the prefix for all files.
	•	Add Date: Optionally include the current date in the file name.
	•	Numbering: Automatically add sequential numbering to your files (e.g., 001, 002, 003).
	•	Backup File: Save a copy of the original filenames to restore later if needed.

💻 What You Need
	1.	Python installed on your computer (version 3.7 or above).
	2.	Basic understanding of how to run Python scripts.

🧑‍💻 How to Use:

1. Set the Folder Path
	•	First, replace /Users/YourUsername/Downloads/JPG_files with the actual path to the folder where your photos or files are located.
	•	To find the path, right-click on the folder in Finder, and click Get Info. This will show the full path to the folder.

2. Renaming Files
	•	Open Terminal on your Mac.
	•	Navigate to the folder where your Python scripts (rename_files.py and restore_files.py) are located. You can do this by typing cd /path/to/your/scripts in the terminal.
	•	Run the renaming script:
    python rename_files.py

This will rename all .jpg files in the specified folder and create a backup file called rename_backup.txt containing the original filenames.
$
I want this!
Size
2.14 KB