How to batch rename files on Mac
Complete guide with multiple methods and troubleshooting.
7-10 min read
Expert Verified
Last Updated: August 2025
Quick Answer
Batch renaming files on a Mac can be accomplished using Finder's built-in features, Automator, or third-party applications. This guide covers multiple methods to ensure you can effectively rename multiple files at once.
Medium⏱ 7-10 min read
Prerequisites & Requirements
Before starting the batch renaming process, ensure you meet the following requirements:
- •macOS version 10.14 (Mojave) or later is recommended for optimal features.
- •Sufficient permissions to modify the files you wish to rename.
- •No files should be open or in use during the renaming process.
- •Backup important data to prevent accidental loss during renaming.
Method 1: Using Finder
This method is ideal for users who want a quick and straightforward way to rename multiple files without additional software.
- •Step 1: Open Finder and navigate to the folder containing the files you want to rename.
- •Step 2: Select all the files you wish to rename by holding down the Command (⌘) key and clicking each file, or press Command (⌘) + A to select all.
- •Step 3: Right-click on the selected files and choose 'Rename X Items...' from the context menu.
- •Step 4: In the Rename dialog, choose one of the options: 'Replace Text', 'Add Text', or 'Format'. Fill in the required fields based on your choice.
- •Step 5: Click 'Rename' to apply the changes.
- •Step 6: Verify the changes by checking the filenames in Finder.
For macOS 11 (Big Sur) and later
The batch renaming feature remains consistent, but the interface may have slight visual updates.
- •Ensure you are familiar with the new Finder layout for easier navigation.
- •The Rename dialog may have a more modern look, but the options remain the same.
For macOS 10.15 (Catalina) and earlier
The batch renaming feature is available but may lack some advanced options found in later versions.
- •You may not see the 'Format' option in the Rename dialog; use 'Replace Text' or 'Add Text' instead.
Method 2: Using Automator
Automator provides a more advanced way to batch rename files, allowing for custom workflows.
- •Step 1: Open Automator from the Applications folder.
- •Step 2: Choose 'New Document' and select 'Workflow'.
- •Step 3: In the Library, find and drag 'Get Specified Finder Items' to the right pane.
- •Step 4: Click 'Add...' and select the files you want to rename.
- •Step 5: Next, find 'Rename Finder Items' in the Library and drag it below the previous action.
- •Step 6: Choose the renaming option you want (e.g., 'Add Date or Time', 'Change Case', etc.).
- •Step 7: Click 'Run' to execute the workflow.
- •Step 8: Check Finder to confirm the files have been renamed.
Troubleshooting Common Issues
If you encounter problems while batch renaming, consider the following solutions:
- •Error: 'The operation couldn’t be completed' - Solution: Ensure no files are open or in use.
- •Issue: Files not renaming as expected - Fix: Double-check the selected files and renaming options in the dialog.
- •Problem: Files are renamed incorrectly - Workaround: Use 'Undo' (Command (⌘) + Z) immediately after the rename operation.
Advanced Tips & Shortcuts
For power users looking to optimize their file renaming process:
- •Keyboard shortcut: Command (⌘) + Option (⌥) + R - Opens the Rename dialog for selected files quickly.
- •Command line: Use 'mv' command in Terminal for batch renaming with scripts - Example: mv oldname.txt newname.txt.
- •Hidden feature: Use AppleScript for complex renaming tasks - Access via Script Editor.
Common Mistakes to Avoid
Avoid these common pitfalls:
Expert Tips
Utilizing Finder's batch rename feature is often the most efficient method for most users, but Automator can provide additional flexibility for complex tasks.