Home›How to Rename Several Files at Once in macOS

How to Rename Several Files at Once in macOS

VINKOWEB • TECHNOLOGY ARTICLE

How to Rename Several Files at Once in macOSFriday January 4, 2019 3:38 AM PST by Tim HardwickIn early versions of Mac OS, users looking for a way to quickly rename multiple files simultaneously (commonly referred to as batch rena

How to Rename Several Files at Once in macOS

Friday January 4, 2019 3:38 AM PST by Tim Hardwick

In early versions of Mac OS, users looking for a way to quickly rename multiple files simultaneously (commonly referred to as batch renaming) had to use the command line or download and install a third-party tool dedicated to the task.

Since OS X Yosemite however, Apple has integrated several useful batch renaming capabilities directly into Finder.

To rename several files of the same kind on your Mac at once, follow the steps below. In our example we're going to be batch renaming some photos.

  1. Open a Finder window and locate the files you want to rename.
  2. Drag a selection box over the files with your mouse or hold the Shift key and click them one by one.

  3. Click the Action button in the Finder toolbar. Alternatively, right-click (or Ctrl-click) one of the selected files in the Finder window.

  4. Select Rename [XX] Items in the menu.
  5. Select Format from the first dropdown menu in the Rename Finder Items panel.

  6. In the next dropdown, select a Name format. We're going to use Name and Index, but you can optionally select Name and Counter or Name and Date.

  7. Enter a common name for your files in the Custom Format field.

  8. Enter a starting number for the file series in the Start numbers at field. Note that if you selected a number format, you can use the Where dropdown to choose whether the sequential numbers appear before or after the common name of your files.
  9. Make sure you're happy with the preview example at the bottom of the Rename panel, then click Rename.

The selected files will now be renamed with your chosen nomenclature. Note that if you're note happy with the change, you can select Edit -> Undo Rename in the Finder menu bar or press the keys Command-Z to revert the files back to their original names.

How to Add Text to Existing File Names

Finder's renaming tool also lets you add supplementary text to filenames without changing their original titles.


Simply select the files whose names you want to adjust and bring up the Rename Finder Items panel as described above, only select Add Text from the from the first dropdown instead. Then just type in the additional text in the input field.

How to Search and Replace Text in File Names

Finder also allows you to rename only certain files whose names include a certain piece of identifying text. This is particularly convenient if you have tens or hundreds of files in a folder with different names and you only want to change those files that contain a particular word.

Select all the files in a folder (make sure they're all of the same kind, or this won't work), bring up the Rename Finder Items panel in the same way as before, but this time select Replace Text in the first dropdown.


Now simply type the identifying text you want to replace into the Find field, and enter the text you want to replace it with in the Replace With field, then click Rename.

29 comments

Popular Stories

Apple Responds to iPhone Duo Display Cracking Reports

Monday October 26, 2026 10:20 am PDT by Juli Clover
Shortly after the iPhone Duo launched, a few users reported hinge issues that were causing cracks in the inner display. Apple has now responded to the reports in a statement to MacRumors, saying a small number of units are affected. The response to iPhone Duo from early users has been incredibly positive, and we are seeing exciting things from developers who are rapidly updating their apps...

Apple Announces New iPad Mini With 8.5-Inch OLED Display, A20 Pro Chip, and More

Monday October 26, 2026 6:05 am PDT by Joe Rossignol
Apple today announced a new iPad mini with a larger 8.5-inch OLED display, a nano-texture display option, a thinner and lighter design, an A20 Pro chip, a new Acoustic Display audio system that eliminates speaker holes, IP67-rated water and dust resistance, a landscape front camera, Apple's N1 chip with Wi-Fi 7 and Bluetooth 6 support, and more. Altogether, Apple says this amounts to the iPad...

Apple Announces New 14-Inch MacBook Pro With M6 Chip

Tuesday October 27, 2026 6:01 am PDT by Hartley Charlton
Apple today announced a refreshed 14-inch MacBook Pro featuring the M6 chip, upgraded connectivity specifications, and more. The M6 chip in the MacBook Pro features a 12-core CPU with 2 super cores, 4 performance cores, and 6 efficiency cores, paired with a 12-core GPU. This is up from the M5 chip with a 10-core CPU with 4 super cores and 6 efficiency cores, paired with a 10-core GPU. M6...
'); }

Next Article

Related articles

Boot CampBoot CampBy MacRumors Staff on August 22, 2022Jump to How Tos ArticlesBoot Camp How TosHow to Install Windows 10 on Your Mac Using Boot CampRead full story →
Losing Two-Factor Recovery Key Could Permanently Lock Apple IDLosing Two-Factor Recovery Key Could Permanently Lock Apple IDMonday December 8, 2014 10:32 pm PST by Husain SumraIn March 2013, Apple introRead full story →
Apple Two-Step Verification Now Available for iMessage and FaceTime [Updated]Apple Two-Step Verification Now Available for iMessage and FaceTime [Updated]Thursday February 12, 2015 12:50 pm PST by Juli CloverApple's tRead full story →
Apple Increases Account Security With Optional Two-Step Verification System for Apple IDsApple Increases Account Security With Optional Two-Step Verification System for Apple IDsThursday March 21, 2013 12:26 pm PDT by Juli CloverRead full story →
Apple to Take Reservations for Trying On Apple Watch, Considered Platinum ModelApple to Take Reservations for Trying On Apple Watch, Considered Platinum ModelMonday March 9, 2015 7:35 am PDT by Joe RossignolApple is shiRead full story →
Open full interactive page →