In previous versions of Mac OS users had to use the command line or download and install third-party tools for this! Today this ultimate guide brings you simple methods on how you can rename a file or multiple files in Mac (with examples).
Apple has integrated many useful batch remaining capabilities directly into finder, since OS X Yosemite.
Table of Contents
- 1 Rename one file or multiple files on Mac (Step-by-Step Guide)
- 2 Renaming by the help of selection and clicking on the folders/files
- 3 Renaming Files with the help of the return key
- 4 Renaming a file or folder using the terminal
- 5 That’s It
Rename one file or multiple files on Mac (Step-by-Step Guide)
We are going to batch rename some images of babies, as an example.
- In the first step, open the finder window and locate the files you wish to rename.
- Then drag the selection box over files with help of your mouse or hold the shift button and click each one by one.
- In the finder toolbar, hit the action button. Alternatively, click right or Ctrl-click one of the selected files in the finder window.
- Choose rename [XX] items on the menu.
- From the first dropdown menu in the rename folder items panel, choose format.
- From the next dropdown, you need to select a name format. We use name and index but users can optionally select name and counter or name and date as well.
- Type in a common name for it in the custom format field.
- You need to add a starting number for the files in the start number at file.
Note: keep in mind that if you have selected a number format then you can use the Where dropdown in order to choose whether the sequential numbers are there before or after the common name of files.
- Be sure to be happy with the preview example which is shown at the bottom of the rename panel, then hit rename.
Selected files are now done with chosen nomenclature. Keep in mind that if somehow you do not like the made changes then you can choose Edit > Undo rename in the finder menu bar or press the Command-Z key in order to revert files back to original names.
Renaming existing files with more text
With the help of the finder’s renaming tool, users can add supplementary text to filenames without changing their original titles.
- Select files whose name you wish to adjust.
- Bring up the finder items panel as mentioned above.
- From the first dropdown menu, select add text.
- In the input field, type in the additional text.
Searching and replacing files in an instance
With this users can do specific files whose names carry a certain piece of identifying text. This is handy if you have tens or hundreds of files in a folder with various names and you wish to change only those that have a certain word.
- Select all files in a folder.
- Bring in the panel just like you did before.
- This time you need to select replace text in the first dropdown.
- In the finder field, add in the text you want to replace and enter with the one you want to replace it with in the Replace with the field, hit rename.
Renaming by the help of selection and clicking on the folders/files
This is quite easy and can be done with help of a finder.
- Once you have selected the icon, choose the actual filename text and hover for some time with the cursor.
- You shall see the text highlight, it indicates the renaming of the file.
- Type in a new one.
- Click on return or click away with cursor to set change.
Renaming Files with the help of the return key
- Press on the icon of the file or folder from the OS X Finder.
- Click the return key.
- Type in the new name.
This is a quick yet traditional way of renaming on the Mac. I love it!
Renaming a file or folder using the terminal
Command-line is somehow advanced but the user can perform the underlying tasks for any file or directory through the terminal.
- Type the following syntax replacing with files and filenames as required:
mv olddekisoft newdekisoft
The concept above is the same in Linux.
Now if you click right on the name of the file in the finder of modern versions of OS X then you can select the rename option to do so for a specific file, or use it for various at a time if many are selected. This works best but is only available for the new versions of OS X.
It’s now your turn to try and rename files or folders and try to do multiple ones or in batch at once! What could go wrong? Well, you won’t know the ordering and will also have to organize all of them again. I personally use the SFR tool as I am a Windows user, it does all of this but in a snap.