How to Batch Rename Files on Mac

macOS offers four methods for batch renaming files: the Finder rename tool, Terminal commands, Automator workflows, and dedicated apps like Batchio. Each method handles different levels of complexity. This guide covers all four approaches from simplest to most powerful.

How Does Finder Batch Rename Files on Mac?

Finder batch renames files through three built in modes: Replace Text, Add Text, and Format. Select multiple files in Finder, right click, and choose Rename to access these modes. Finder handles basic text replacement, prefix or suffix additions, and sequential numbering without installing any additional software.

Finder's Replace Text mode finds a string in the selected filenames and replaces it with another string. The replacement applies to every selected file that contains the match. Finder does not support regular expressions, case sensitivity toggles, or partial occurrence matching in this mode.

Finder's Add Text mode appends or prepends text to every selected filename. You choose whether the text appears before the name or after the name. Finder does not support inserting text at a specific character position within the filename.

Finder's Format mode replaces filenames entirely with a base name followed by a sequential number or counter. This mode works well for photo imports where you want a clean naming convention like "Vacation_001, Vacation_002, Vacation_003." Finder does not support custom number formats, zero padding widths beyond its default, or step increments other than 1.

Finder covers approximately 30% of common renaming tasks. For operations that require regex, EXIF metadata, case conversion, character removal, or date insertion, you need a more capable tool. Users who want to rename multiple files using Finder can start with its three built in modes and upgrade to Batchio's find and replace with regex support when patterns become complex. The full batch rename app comparison shows how Finder stacks up against dedicated renaming tools.

How Do You Batch Rename Files in Terminal on Mac?

Terminal batch renames files using shell commands like mv inside for loops, the rename Perl utility (installed via Homebrew), or inline shell scripts. Terminal provides full regex support and unlimited flexibility but requires command line experience and has no preview or undo capability.

The simplest Terminal approach uses a for loop with mv to iterate through files in a directory. A loop like for f in *.jpg; do mv "$f" "photo_$f"; doneadds the prefix "photo_" to every JPEG file. This approach works for straightforward operations but becomes unwieldy for complex patterns involving multiple transformations.

The rename utility from Homebrew accepts Perl regular expressions directly. A command like rename 's/IMG_(\d+)/Photo_$1/' *.jpg uses capture groups to restructure filenames. This tool provides the most powerful text transformation available from the command line on macOS.

Terminal commands execute immediately with no preview. A typo in a regex pattern can rename hundreds of files incorrectly before you notice the mistake. Terminal also has no built in undo, so reversing a bad rename requires writing a second script or restoring from a backup. Batchio's live preview eliminates this risk by showing every filename change before you commit. The complete Terminal file renaming guide covers mv commands, for loops, and the rename Perl utility in detail.

How Does Automator Batch Rename Files on Mac?

Automator batch renames files through the Rename Finder Items action inside a workflow. Automator provides six rename operations: Add Date or Time, Make Sequential, Change Case, Add Text, Replace Text, and Single Number. Automator workflows run as standalone apps, Finder Quick Actions, or Folder Actions that trigger automatically.

Automator's visual workflow builder connects actions in a sequence. Drag the Get Specified Finder Items action first, then add one or more Rename Finder Items actions. Each rename action applies one transformation, and Automator executes them in order from top to bottom.

Automator's rename actions cover basic operations but have significant limitations. There is no regex support, no EXIF or audio metadata access, no character removal options, and no extension handling beyond what the Replace Text action provides. Automator also provides no live preview, so you cannot verify results before the rename executes.

Automator is being deprecated by Apple in favor of the Shortcuts app. macOS Monterey introduced Shortcuts as the replacement automation platform, and Apple has not updated Automator since. New Mac users should consider Shortcuts or a dedicated renaming app for long term compatibility.

For complete Automator setup instructions and workflow examples, see the Automator file renaming guide.

How Does Batchio Batch Rename Files on Mac?

Batchio batch renames files using 9 composable rule types that you stack in any order: find and replace (with regex), add text, numbering, change case, remove characters, date insertion, extension handling, EXIF metadata, and audio metadata. Every rule change updates a two column live preview instantly before you commit.

Batchio combines the power of Terminal regex with the visual simplicity of a native macOS app. The beginner's step by step guide walks through the entire process from adding files to executing the rename. Drag files onto the window, build your rule chain, verify every filename in the live preview, and click Rename. The entire process takes seconds for batches of any size.

The EXIF metadata rule renames photos using camera model, lens, ISO, aperture, shutter speed, focal length, or image dimensions. The numbering rule adds sequential numbers with configurable start, step increment, and zero padding width. Users who need to process 1,000 or more files at once can follow the mass rename files guide for performance tips and conflict detection strategies at scale.

Batchio detects naming conflicts before renaming starts. If two files would end up with the same name, warning icons appear in the preview. You can choose to block the operation, auto number duplicates, or skip conflicting files.

Full undo support stores up to 100 rename operations in history. Press Cmd+Z to revert the most recent rename, or open the Rename History panel to undo any previous operation individually.

Batchio is free on the Mac App Store with all 9 rule types included. The free batch rename tool comparison shows how the free tier compares to Finder and Terminal. The Pro upgrade at $4.99 adds saved presets, folder automation with watch folders, a Finder Quick Action for right click renaming, and Apple Shortcuts integration. See all Batchio features for a complete breakdown.

Which Mac Batch Rename Method Should You Choose?

Finder works for simple text replacement and sequential numbering on small batches. Terminal provides unlimited power but requires scripting knowledge and has no preview or undo. Automator automates basic renames as saved workflows but lacks regex and metadata support. Batchio combines 9 rule types with live preview and full undo in a native macOS interface.
CapabilityFinderTerminalAutomatorBatchio
Text replacementBasicFull regexBasicFull regex + capture groups
Sequential numberingFixed formatScriptedBasicCustom start, step, padding, position
Case conversionNoScriptedYes5 modes including camelCase
EXIF metadataNoScriptedNoCamera, lens, ISO, aperture, shutter
Audio metadataNoScriptedNoArtist, title, album, track, genre
Live previewNoNoNoReal time, two column
Undo supportLast action onlyNoneNone100 operations in history
PriceFree (built in)Free (built in)Free (built in)Free (Pro $4.99)

Photographers who need to rename shoots by date and camera model should use Batchio's batch photo renaming workflow. Musicians who organize files by artist and album can use the audio metadata rule. The best file renamer comparison ranks all five dedicated Mac renaming apps by features and pricing. Users who need efficient preset workflows and watch folder automation can follow the bulk rename workflow guide.

How Do You Batch Rename Files with Batchio Step by Step?

Download Batchio free from the Mac App Store. Launch the app, drag your files onto the window, add rules from the 9 available types, verify every change in the live preview, and click Rename. The entire process takes under 30 seconds for most batches.
  1. Open Batchio and drag files or folders onto the window. Batchio displays the file count and total size in the toolbar. Enable Include Subfolders to scan nested directories.
  2. Add your first rule by clicking the + button in the rules panel. Choose from 9 rule types: find and replace, add text, numbering, change case, remove characters, date insertion, extension handling, EXIF metadata, or audio metadata.
  3. Configure the rule by setting its options. For find and replace, enter the search text and replacement text. Toggle regex mode for pattern matching. Toggle case sensitivity as needed.
  4. Stack additional rules if your renaming requires multiple transformations. Rules apply in sequence from top to bottom. Drag rules to reorder them. Disable individual rules without deleting them to test different combinations.
  5. Review the live preview showing original names on the left and new names on the right. Changed portions are highlighted. Conflict warnings appear for duplicate names.
  6. Click Rename to execute the operation. Batchio renames all files and adds the operation to the undo history. Press Cmd+Z to revert if needed.

When Should You Use Finder vs Terminal vs Batchio?

Finder is best for quick, one time renames of fewer than 20 files using simple text replacement. Terminal is best for scripted, repeatable operations in automated pipelines. Batchio is best for visual, complex renames where you need multiple rule types, live preview, and the safety of full undo support.

Finder handles the simplest 30% of renaming tasks. Renaming 5 vacation photos from "IMG_1234.jpg" to "Beach_Trip_001.jpg" takes fewer than 10 seconds in Finder. The operation requires no additional software and works on every Mac.

Terminal handles the most complex operations when you already know the exact regex pattern. System administrators and developers who rename files as part of automated build scripts or deployment pipelines benefit from Terminal's scriptability and integration with cron jobs or CI/CD systems.

Batchio handles everything between those extremes and beyond. The visual rule builder makes complex operations accessible without memorizing regex syntax, and the bulk rename utility comparison shows how Batchiostacks up against Renamer, Name Mangler, and other dedicated apps. The Pro version's folder automation feature bridges the gap with Terminal by watching folders and applying presets automatically. The file renaming tool overview covers every category of rename tool on Mac from built in to GUI.

Frequently Asked Questions

Can Finder batch rename files with sequential numbers?
Finder supports sequential numbering through its Format rename mode. Select multiple files, right click, choose Rename, and select Format. Finder adds a counter starting from any number you choose. Finder does not support zero padding, custom step increments, or inserting numbers at specific positions within the filename.
What is the fastest way to batch rename 1,000 files on Mac?
Batchio is the fastest option for renaming 1,000 or more files on Mac. Drag files onto the window, build rules from 9 rule types, verify every change in the live preview, and click Rename. The entire operation completes in seconds with full undo support.
Can I undo a batch rename on Mac?
Finder supports Cmd+Z to undo the most recent rename operation. Batchio stores up to 100 rename operations in its history and lets you undo any of them individually. Terminal commands have no built in undo, so reversing a terminal rename requires running a second script.
Does batch renaming change the file contents or metadata?
Batch renaming only changes the filename and, optionally, the file extension. The file contents, creation date, modification date, and all internal metadata remain unchanged. Only the name displayed in Finder and referenced by the file system changes.
Is Batchio free to use for batch renaming?
Batchio is free to download from the Mac App Store with all 9 rule types included: find and replace, add text, numbering, change case, remove characters, date insertion, extension handling, EXIF metadata, and audio metadata. The Pro upgrade at $4.99 adds saved presets, folder automation, Finder Quick Action, and Shortcuts integration.

Ready to Rename Files the Easy Way?

Download Batchio free on the Mac App Store. All 9 rule types included. Pro upgrade $4.99.

Coming Soon to the Mac App Store
Marcel Iseli
Marcel Iseli

Creator of Batchio · Indie App Developer

LinkedIn ↗

Marcel Iseli is an indie app developer and the creator of Batchio. He builds native macOS utilities focused on productivity and file management, with a focus on lightweight, subscription-free tools.