Renaming files one by one is tedious. I tried batch renaming in Finder. — cover illustration
Last updated:

Renaming files one by one is tedious. I tried batch renaming in Finder.


I tried something like this.

IMG_ has been replaced with desk_ by "Rename" in Finder. Leave the number as is. You can try it without any additional apps.

Actual operations and screenshots included

Result of renaming 3 files to desk_ in Finder
Result of renaming 3 files to desk_ in Finder
Download practice file ↗
Table of contents of this article

Select the file, correct the name, and move on to the next file. It's tiring to do this over and over again...

If you just want to change the same part, you can probably do it all at once. When I looked into it, I found that there is a renaming function that can be used directly in Mac's Finder. It seems that no additional apps are needed.

So, this time I will prepare three images and try it out.Change "IMG_" to "desk_" and leave the last number. I decided to try just that first.

Verified: November 4, 2026 - Finder on macOS 26.5. I actually operated it using 3 sample images for the article. The photos I usually use have not been changed.

1. Open the three practice sheets in Finder

Download practice ZIP. This walkthrough uses Mac Finder, with no Terminal commands or extra apps.

Operation: Double-click the downloaded rename-practice.zip and open the extracted folder. If your browser has already extracted it, simply open that folder.

Confirmation: You are ready when you can see IMG_001.jpg, IMG_002.jpg and IMG_003.jpg. Work with the extracted files, not just a preview of the ZIP's contents.

I'll try it with my own photos after I get success with these three. First, put a copy in a separate folder and keep the original photo.

I have prepared a file like this. The contents are sample images for practice, and are not photos of the desk. This time, we will only look at how the name changes.

The screen before change where IMG_001.jpg, IMG_002.jpg, and IMG_003.jpg are lined up in Finder
Before change. All three photos start with "IMG_". I cut out the list part from the actual Finder screen.

Success means IMG_001.jpg becomes desk_001.jpg. The aim is to avoid reopening the images or changing their numbers.

2. Select 3 images and enter the characters to replace them.

Click on the first image, hold down the Command key and click on the remaining two images. When all three images are in the selected color, open "Rename..." from "File" at the top of the screen. Then, a small screen appeared that allows you to change the file name all at once instead of retyping it on the spot.

Choose “Replace Text”. I entered IMG_ in the Find field and desk_ in Replace with.

Finder rename screen with search string IMG_, replacement string desk_, example desk_001.jpg
These are the two fields I filled in. The example at the bottom left now reads desk_001.jpg.

The dialog confirms that One example after modification is displayed.. It does not list all three results. That is easy to follow when changing a shared prefix, but with varied filenames, check all the results afterward too.

3. Make changes and check names and contents

Press "Rename" to return to Finder. Here are the results.

Finder actual screen changed to desk_001.jpg, desk_002.jpg, desk_003.jpg
After renaming: only “IMG_” changed to “desk_”. The numbers 001–003 and the file extensions stayed the same.

All three files were renamed as intended. Comparing their contents before and after confirmed that the contents matched: only the names changed, not the images.

In this test, I applied the same change to three files at once. I have not tested hundreds of files, so I cannot say how it performs at that scale or how much time it would save.

Organize what you can before using it for your own files

The good thing about this time was that I didn't have to remember any special naming rules and was able to just ``change this character to this character.'' Conversely, they won't think of names like "keyboard" or "mouse" based on the content of the photo.

When you want to repeat the same part over and over again, this seems to be sufficient. It might be a good idea to try it out on a few copies first and make sure that the parts you want to replace are the same.

Trying to organize every file at once feels like a chore. Today, simply avoiding typing the same name three times is enough.

Download 3 practice images with the same name. You can try the unzipped copy.

Reference:Apple: Rename files, folders, and disks on your Mac. The screens and results in this text are based on the actual machine operation.

If it doesn't work, come back here

  • Only one file gets renamed: Close the name change screen and check that 3 images are selected. Use Command + A only when there are only three target images in the folder.
  • The example remains the same: IMG_ and IMG- are different. Match the underscore exactly. Files already changed to desk_ will not be changed again by the same replacement.
  • Extension not visible: It may be hidden by your Finder display settings. Instead of adding the extension manually, select the file and check the name and extension in File → Get Info.
  • Can't open photo: Stop before moving on. Extract the practice ZIP into a different location and try again. First check whether the original file opens, so you can narrow down the problem.

Mark of completion: All three files should be named desk_001.jpg through desk_003.jpg and open when double-clicked. I also compared file contents for this article, but for practice, start by checking the names and that the images open.

If you change the name of a file that is referenced from other documents or code, you will also need to modify the reference location. When expanding to your own files, try the same operation on a separate copy.

If duplicate copies are another concern, I also have Steps to find duplicate files without deleting them.