Categories
Life hack

How to rename multiple files at once in macos

Prior to OS X Yosemite, there was no simple way to rename multiple files at the same time on the Mac. Some people set up Automator rules. Others tried workarounds to rename files in third-party apps. Finally, Apple realized our heartache and created a much simpler way to rename multiple files at once, and it’s only gotten easier as macOS updates continue. Here’s how to batch-rename files on your Mac.

How to batch-rename files on Mac

I personally batch-rename photos most often, but it works for any files you have. They just have to be the same type in order to be renamed all at once.

  1. Launch Finder on your Mac.
  2. Locate the files you want to rename.
  3. Shift-click to select multiple files.

Click on the Action button at the top of the Finder window. You can also right or control + click on the files.

Select Format from the drop down menu at the top of the set of rename tools.

Enter a name for your files into Custom Format.

Click on Rename.

All of the files you selected will be renamed with the new name and listed sequentially from the starting number you entered.

How to add text to currently named files on Mac

If you have a number of files that you want to identify but want to keep their current names, you can add text to every file without changing the original title.

  1. Launch Finder on your Mac.
  2. Locate the files you want to rename.
  3. Shift-click to select multiple files.

Click on the Action button at the top of the Finder window. You can also right or control + click on the files.

Select Add Text from the drop down menu at the top of the set of rename tools.

Click on Rename.

All of the files you selected will have the new words added to them, without changing their original title.

How to search and replace certain words in the name of specific files on Mac

Sometimes, you want to change the name of just a few files, but it’s one of dozens of files with different names and may be difficult to search for. You can find and replace portions or all of the name of files if you have a general idea of the original. For example, you could find and replace the wording in the name of every file that has “secret project” in it.

  1. Launch Finder on your Mac.
  2. Open the folder where the files you want to change are stored.
  3. Shift-click on all files in the folder. Remember, in order to rename multiple files, they must be the same type.

Click on the Action button at the top of the Finder window. You can also right or control + click on the files.

Select Replace Text from the drop down menu at the top of the set of rename tools.

Click on Rename

Every file that had the original word or words you searched for will be replaced with the word or words you entered to change them to.

How to undo a batch-rename of files on Mac

It’s incredibly easy to undo a file rename, as long as it’s the last action you performed in the finder window.

  1. With Finder selected, click on Edit in the app menu at the top left corner of the screen.
  2. Click on Undo Rename.

If it doesn’t say Undo Rename, try hitting Undo a couple of times. This will undo any actions you’ve performed in Finder after renaming the files.

You can also hit Command-Z as a keyboard shortcut to undo.

Any questions?

Do you have any questions about renaming multiple files at once on the Mac? Put them in the comments and we’ll help you out.

Matt Klein has nearly two decades of technical writing experience. He’s covered Windows, Android, macOS, Microsoft Office, and everything in between. He’s even written a book, The How-To Geek Guide to Windows 8. Read more.

How to rename multiple files at once in macos

Macs have many hidden talents, but if there’s one we’ve found indispensable, it’s the ability to rename multiple files at once.

Lets say we have four screenshots we want to rename. To do so, select all of them, right-click, and choose “Rename 4 Items”.

How to rename multiple files at once in macos

A dialog then pops up. You have a few choices here, so we’ll go through all of them.

Rename by Format

When you first see the dialog, the top dropdown menu reads “Format”, which allows you to completely rename each file. There are two other options there, but we’ll focus on the Format option to start.

How to rename multiple files at once in macos

There are three formats: “Name and Index” (example: File1.jpg), “Name and Counter” (example: file00001.jpg), and “Name and Date” (example: file 2016-09-08 at 1.05.47 PM.jpg).

In the “Custom Format” field, you can give your files any name you want. The default is “File”, but your items can be changed to whatever string you enter.

To the left, you have the option to append or prepend the name with your index, counter, or date, and finally, below that, you can designate any number you want your new files to begin or end with.

How to rename multiple files at once in macos

Rename by Adding Text

Back up at the top dropdown, the next rename option is to Add Text.

This option is very simple. The long text field lets you add any string of text or numbers before or after the name.

This option is useful such as if you don’t want to necessarily change your filenames, but rather tweak them to your liking.

Rename by ReplacingText

The last rename option is to Replace Text. All you do here is replace one text string–for example “screen shot”–with something else more fitting. So, you might want the files to more accurately reflect the content, such as if said screenshots concern a certain subject or area.

How to rename multiple files at once in macos

As you can see, renaming files on macOS isn’t necessarily a complicated matter, but it certainly has more power to it than a simple find-and-replace batch operation. The ability to finesse your files into an order that fits your particular needs means you’ll spend less time searching and more time finding.

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.

    Open a Finder window and locate the files you want to rename.

Drag a selection box over the files with your mouse or hold the Shift key and click them one by one.

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

Select Rename [XX] Items in the menu.

Select Format from the first dropdown menu in the Rename Finder Items panel.

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.

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

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.

  • 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.

    Your Mac, explained.

    I came across an issue uploading files to OneDrive. I’d copied a folder full of photos into my OneDrive folder, but OneDrive couldn’t upload them because the file-names contained slashes.

    The original source of these files was a Windows PC where this wasn’t an issue and was allowed.

    However, on macOS this causes issues with a number of applications.

    There were over 100 folders to rename! No way am I doing that manually!

    Luckily macOS has the Terminal, where you can use a few BASH commands to do this in one go.

    Now, take note here that the slash ‘/’ is represented as a colon ‘:’ in Terminal, and also in OneDrive and many other applications, because the slash ‘/’ is used to represent a each directory level in macOS. Because of this, we’re going to search for the colon ‘:’ character to replace, not the slash ‘/’ character actually used in the filename in Finder.

    Unfortunately macOS doesn’t come with the “rename” command. There are ways around that I believe, but why reinvent the wheel when it’s easy to get this command for your macOS terminal.

    1. First install Homebrew for macOS
      1. Open Terminal (my favourite way is with command+space, then start typing “Terminal” and hit Enter when it appears).
      2. Follow the instructions on the Homebrew homepage to install it in your Mac (very easy).
        • When prompted for your password, enter your user password that you used to login to macOS
    2. Then install the rename command:
    3. Now combine the power of the find and rename commands to recursively traverse the directory with the folders you want to rename

    Note it gives no feedback to say it’s worked (you can use the ‘-v’ or ‘–verbose’ switch if you want full verbose feedback of what’s been done).

    If you want to do a dry-run first without changing anything, to make sure you’re only renaming the folders your intend to, you can use the -n switch in the rename command:

    Here’s the reasoning behind the switches used:

    ‘-d’ tells ‘find’ to “depth-traverse” the folder structure, meaning it traverses from the bottom-up, instead of the top-down. This is to avoid issues that might arise if the root directory is renamed first, making subsequent rename commands invalid (I’d seen this mentioned in some comments on Stack Exchange).

    ‘-type d’ tells ‘find’ to only look at directories. ‘-type f’ is the equivalent for files. I’m not sure if there’s a way to do both at once.

    The ‘rename’ command is using RegEx for the rename. Note the RegEx ends with a ‘g’. This tells it to replace all occurrences of the search string, instead of just the first in each file/folder.

    If you want to understand the rest, ‘man find’ and ‘man rename’ have all of the details you need (which is where the above understanding was garnered).

    Current Dilemma When Renaming Multiple Files in Mac

    A current minor dilemma faced by Mac users is the issue on the procedure of renaming multiple files in one go. Usually, a Mac user saves several photos or files in his desktop/laptop with the images’ or files’ original or default file names. However, some circumstances require users to rename their photos or files with another distinct file name. The quick remedy is to simply rename the photo or file one by one, but this solution becomes impractical and time consuming if the user intends to rename hundreds or even thousands of photos or files.

    So the question comes into place, what is the alternative solution to enable users to rename several photos or files in one go? For now, there is nothing much to worry for the following information exposes the quick procedure on how to rename numerous files saved on a Mac.

    Renaming Numerous Files at Once in macOS Sierra

    Usually, a Mac user downloads and uses a third party application to rename plentiful files at once. In some other cases, users intend to acquire the benefits of other file rename utilities. It has been discovered that with the aid of the ‘Finder’, batch renaming of files is not that tedious after all. In Finder, there is indeed a faster and a more hassle-free option which caters to the issue of batch renaming. If you are one of the users who have not figured out this faster option, then scroll through and simply perform the steps.

    Step by Step Procedure on How to Rename Multiple Files at Once

    Please take note that in the example below, the original file names of 50 different photographs will be changed in the format of “IMG 1 , IMG 2 , IMG 3 , IMG 4 …IMG n

    First things first, click the Finder and then highlight to select the files that you want to rename at once. As seen on the attached screenshot, 50 photographs are selected. Once done with the first procedure, you now have to click File from your menu tab and look for the option Rename 50 items’ .

    After performing the first step, a dialog box will then appear on the screen. As seen on the dialog box, there are various settings that you can use to rename the filenames in a way that you exactly want it to be. In this case, select the drop down box located at the upper left section of the dialog box and then choose Format .

    As seen on the screen, a drop down box with the label Name Format is located right under the upper left drop down box. In the Name Format drop down box, click Name and Index. On the right side of the dialog box, a drop down box with the label Where can be located. In this drop down box, select the option after name .

    After setting up the Name Format and Where drop down boxes, locate the Custom Format drop down box. Once located, input IMG into the textbox. Parallel to the Custom Format drop down box is the Start numbers at drop down box. In this section, encode the number 1.

    After performing all the procedures, locate and select the Rename button on the lower right corner. As seen on the attached image, all the files you previously selected will now have its new file name. The procedure on how to rename files in batches at once is clearly very user friendly and hassle-free. This solution can also be applied with Mac computers with the older versions of operating systems. If you are a Mac user and you are not currently using the most updated version of the operating system then there is no need for you to worry!

    The Add Text Option in the Batch Rename Menu

    There are several other options which you can choose on the Batch Rename Menu. One of these options is the Add Text menu. This feature allows the user to add characters to the original or default name of the file. This option can be useful in cases where the user intends to insert text to the beginning or the end part of several file names.

    The Replace Text Option in the Batch Rename Menu

    The other option which is the Replace Text functions similarly with the common Find and Replace feature. In this option, the user simply encodes the word that he intends to replace and the other word he wants to substitute it with. Simply click Rename and all the selected files will then have its new file names.

    Можно изменять имена большинства файлов, папок и дисков, включая внутренний жесткий диск (по умолчанию он называется «Macintosh HD»). При изменении имени жесткого диска в сети он все равно будет отображаться под исходным именем.

    Переименование одного объекта

    На Mac выберите объект, затем нажмите клавишу Return. Также можно с усилием нажать имя объекта.

    Введите новое имя.

    Вы можете использовать числа и большую часть символов. Нельзя использовать двоеточие (:) либо начинать имя с точки (.). В некоторых приложениях запрещено использование косой черты (/) в имени файла.

    Нажмите клавишу Return.

    Переименование нескольких объектов

    На Mac выберите объекты, затем нажмите на один из них при нажатой клавише Control.

    В контекстном меню выберите «Переименовать».

    Во всплывающем меню под «Переименовать объекты Finder» выберите замену текста в именах, добавление текста в имена или изменение формата имени.

    Замена текста Введите текст, который Вы хотите удалить, в поле «Найти», затем введите текст, который хотите добавить, в поле «Заменить».

    Добавление текста Введите текст, который хотите добавить, в поле, после чего укажите, где будет добавлен текст: перед текущем именем или после него.

    Формат Выберите формат имен для файлов, затем укажите, будет ли перед именем или после него указываться индекс, счетчик или дата. Введите имя в поле «Пользовательский формат», затем введите число, с которого будет начат отсчет.

    Существует ряд объектов, переименовывать которые не следует.

    Папки приложений и все объекты, которые входили в комплект системы, такие как папка «Библиотеки». (Если Вы случайно изменили название объекта и по этой причине возникают проблемы, верните прежнее имя. Если это не помогает, возможно, необходимо переустановить ПО.)

    Расширения файлов — точка, за которой следуют несколько букв или слов, в конце имен некоторых файлов (например, .jpg). Если Вы измените расширение, Вы больше не сможете открыть файл с помощью приложения, в котором он был создан.

    Ваша папка пользователя — это папка с Вашим именем пользователя.

    Modern versions of Mac OS X include a built-in batch file renaming tool that allows Mac users to instantly rename large groups of files, folders, photos, or anything else residing on their file system in a single action. This bulk rename item utility is part of the Finder, meaning there are no add-ons, downloads, or DIY Automator tools to use, and the rename function is very powerful, yet extremely simple to use.

    We’re going to demonstrate how to rename a group of files on a Mac by matching a string of text and replacing it with another string of text. You’ll find the basic rename tool works quite similar to other Find & Replace functions found throughout other applications, except that it’s limited to the file or folder names of items you choose in the Mac OS Finder. You’ll also find abilities to append text to file names, or to completely format existing file names and replace them with new text.

    How to Batch Rename Files on Mac with the Rename Finder Item Function of Mac OS X

    1. Select the files in the Finder of Mac OS that you wish to batch rename
    2. Right-click (or Control+Click) on the selected files and choose “Rename X Items” where X is the number of files selected
  • In the “Rename Finder Items” tool that appears, choose ‘Replace Text’ from the dropdown (this is the default)
  • Modify the “Find” search to match the string you wish to replace, then modify the “Replace With” box to match what you want the files to be renamed to, the “Example:” shown at the bottom of the Rename Finder Item window will show what the files renamed will look like

  • Click on “Rename” to instantly rename all the files that were selected
  • The renaming process happens almost instantly, though if you’re renaming hundreds or thousands of selected files it will take a moment or two to complete the renaming procedure, as it occurs on a file by file basis. When it’s finished, you can immediately see the results in the Finder, the file names will be changed to what you chose in the rename utility.

    The Rename Finder Items tool has three renaming options, the aforementioned find and replace text match, the ability to add text to file names, and finally, the ability to completely rename and change the file name format to anything sequential. These options are selected through the dropdown menu of the rename tool panel, all are equally simple to use.

    The brief video below demonstrates the bulk rename of files by replacing existing text with new text, using this renaming tool in the Finder of Mac OS X:

    Batch renaming is undeniably useful, whether used to make many files have more descriptive file names, or even to reduce long file names to shorter ones. There are a myriad of purposes for bulk renaming functions, and for those who make heavy usage of the file system, you’ll likely find yourself using this feature very often.

    The Rename Finder Items function requires that the Mac be running MacOS / Mac OS X 10.10 or later to have this feature available, earlier versions of Mac OS X can batch rename files by using this Automator tool instead. That Automator script continues to work in modern versions of OS X as well, it’s just less necessary now that the Mac includes a native utility to perform bulk renaming functions.

    Oh and by the way, if you select a single item in the Finder and use a right-click, you’ll find the “Rename” function is missing from the contextual menu. That’s because renaming a single file or folder is done through the item name itself, either by clicking into the file name or by hitting the Return key as the file or folder is selected.

    How to rename multiple files at once in macos

    You can quickly change any amount of Mac X file extensions easily. Follow these steps using right-click file rename process.

    1. Ensure Mac X is already showing file extensions. Go to Finder -> Preferences. Ensure Show all filename extensions is checked.

    How to rename multiple files at once in macos

    2. Go to the files you want to change the extension on. In this example, we want to change 118 JPG files from .jpg to .txt.

    3. Select all files and right-click them and choose rename.

    How to rename multiple files at once in macos

    4. You will see the rename finder items screen pictured below. Choose replace text and type the file extension the files are currently names with. Then, type the extension to replace the files with.

    5. Click rename. And you should see all your files renamed with that extension

    If you wish to rename multiple files on a Mac, you should know that is incredibly easy to do so. The batch renaming

    How to rename multiple files at once in macos

    If you wish to rename multiple files on a Mac, you should know that is incredibly easy to do so. The batch renaming of files on Mac includes using Finder that allows the ease of renaming of all the files at once. Previously, this ability of batch renaming required the use of third-party apps and utilities. However, with the built-in batch renaming facility of the Mac OS, it has become much simpler.

    Purpose Of Batch Renaming

    There are several reasons for doing batch renaming of files on the Mac OS system. One can batch rename multiple image files such that they would make some sense and would be easier to search. Batch renaming also helps in the better organization of the documents within a folder. It also helps in the separation of the files by chronological order in which they were created. If all the images on your Mac system are by the name like IMG_0984.JPG, then this is not descriptive and would not aid you in searching for the same when you would need them. Similarly, while researching, you can select a topic keyword to various filenames of the same document such that you would know what document belongs to which project.

    If you choose to rename multiple files by hand, it will last forever. Therefore, it is necessary to batch rename the files with the help of a tool like Finder. Moreover, before doing batch renaming of the files, it is vital to creating a proper backup of the files. There might be the possibility that while batch renaming, some of your files get renamed and become lost in the particular folder. In case you might not find the same, the backup would help.

    How To Rename Multiple Files On A Mac?

    If you wish to rename multiple files on the Mac system at once, then these series of steps might help:

    Step 1: For batch renaming a particular group of files, select the files that you would wish to rename. Right-click on them and select the option “Rename X Items”.

    How to rename multiple files at once in macos

    You will then come across with the batch renaming interface. This interface comprises three main features as Add Text, Replace Text, and Format.

    The options like Replace Text & Add Text function in the exact same manner as these are named. You can replace any text easily that is contained in the particular file name. You can also append any text to the end or beginning of the particular file name. It functions seamlessly.

    The last option as the Format option offers more robust features than the other two options. The Format option lets the users in renaming the entire file name. Thus, this function becomes greatly handy when the user has to address a group of files that are saved with dissimilar names.

    Step 2: For instance, if you wish to format a particular group of files completely and then rename the same, you can make use of the Format option.

    Step 3: Once you have done the tweaking of the settings as per your choice, then simply click on the option Rename. The files names would thus get renamed. The previous name would be overwritten with the new name of the files after the format action.

    How to rename multiple files at once in macos

    While this tool might lack some of the advanced features, you can also make use of some third-party apps like NameChanger to rename multiple files on a Mac. Here is how this particular third-party batch-renaming app functions.

    NameChanger

    This is an effective application for batch renaming of the files on Mac. This is free to download and install on your Mac system. You can load several files onto NameChanger and then you can make the desired changes with respect to the names of the files. Once you are done with the same, you can also preview how the filenames would be transformed before the final changes are saved.

    How to rename multiple files at once in macos

    Here are the detailed steps to be followed while making use of NameChanger to rename multiple files on a Mac:

    Step 1: The first step would be adding the desired files to the NameChanger. If the files are in the same location, then simply select them all and drag these to the NameChanger main window. As there are different ways of renaming files with the help of NameChanger, you can decide the particular way.

    Step 2: Before going any further, select the “Options”, and then “Hide Extensions”. This will prevent NameChanger from overwriting the file extensions as well.

    Step 3: This step would be changing the names of the files all at once with the help of NameChanger. This app offers multiple ways of renaming the files. Therefore, you can make use of a combination of the batch renaming processes. In case you are worried about creating a blunder or unusable file names, then you must create a copy of the files in some other folder before starting to rename them entirely.

    The drop-down menu of the NameChanger renaming app offers all the renaming options. For adding a particular keyword to some file name, select the option “Prepend or Append” from the drop-down menu. Then you can add the text in the given right field. The option “Remove Characters” would chop off some characters from the front or the end of the particular filename.

    Step 4: The last step would be arranging your files in the order of date or name in the given folder. NameChanger usually adds a date to the filenames. Therefore, you can sort the files in a chronological order. NameChanger also lets you change the order of the date if you like. Moreover, you can also include the dates to the end or beginning of the filenames.

    With these simple ways to rename multiple files on a Mac, you can work in a seamless manner when it comes to searching for a particular file by its name.

    Surely you already know many of the ways to organize folders and files on Mac computers, but there is one aspect that you may not have known and it can be very useful for you. We refer to rename multiple files in bulk without having to go one by one. There is a way to do it that is not secret nor does it require activating a very specific functionality, but it is not well known by those who have only been in macOS for a short time.

    In what kind of occasions can it be useful?

    This action can be very useful when you want to rename multiple files with a common theme. For example, imagine you have a folder with photos taken on your vacation, you can rename them all at the same time with a similar name . For example “Vacation 1, Vacation 2, Vacation 3…”. But nevertheless, not useful if you want it to be a completely different name , since in that case you will have to change them individually, although if there are several that do share that name, you can always modify it in batches as we will see below.

    The method you should follow to rename files

    In the traditional way, you probably already know that by right-clicking with the mouse or trackpad you will find the option “Rename”, shading the name of the file or folder at that moment and being able to write there. Then it will be to press the Enter button and that’s it. In the case of several files, the procedure is the same, and you must select all of them secondary clicking and also clicking ” Rename “, although later we found a subtle difference. By doing this, you will see that a window has appeared on the screen in which we must choose the name format that we want to give to all these files.

    • Name format: you can choose the type of format you want to give to the name structure. If you want a personalized name to appear next to a numerical index, you must put “Name and index”, if you want it to be the name accompanied by a number of up to 5 digits you must put “Name and counter” and if you want it to be the date, then “Name and date”.
    • Location: choose where you want the differential element of the new name to appear, before or after the element that will be the same.
    • Custom format: this is the value that will remain the same across all names. Continuing with the example As explained above, this is where you would put “Vacation”.
    • Start numbers at: If you choose a number format and you don’t want it to start with 0 or 1, you can type the number you want it to start with here.

    It should be noted that in this window you can also replace the name of your files . Imagine that your photos are already sorted with the name “Vacations” and you want to put “Summer” instead, because where it says “Format” you must choose “Replace text” and once there in the “Search” field you must put “Vacations ” and in “Replace with” write “Summer”. Once this is done, all the files will be renamed.

    The last feature in Discord is the one that lets you add text to your files. Maybe they each have a completely different name and you want to keep it that way, but you want the word “Vacation” to appear on all of them so you can easily tell them apart. Well, if you select precisely that option to add text, you must type the word you want to add and then choose whether you want to insert it before or after the name.

    Chris Hoffman is Editor-in-Chief of How-To Geek. He’s written about technology for over a decade and was a PCWorld columnist for two years. Chris has written for The New York Times and Reader’s Digest, been interviewed as a technology expert on TV stations like Miami’s NBC 6, and had his work covered by news outlets like the BBC. Since 2011, Chris has written over 2,000 articles that have been read nearly one billion times—and that’s just here at How-To Geek. Read more.

    How to rename multiple files at once in macos

    Windows, Mac OS X, and most Linux desktops have built-in tools for quickly renaming multiple files. Use a batch-rename tool rather than fixing them one by one.

    More powerful batch-renaming features may require a third-party tool or the command line. Batch-renaming features are often integrated into third-party file managers, too.

    Windows

    We’ve already covered the many ways to batch-rename files on Windows. For basic batch-renaming, begin by selecting several files in Windows Explorer or File Explorer. Press Ctrl+A to select a folder full of files, use the mouse cursor to select a group, or hold Ctrl as you click to select and de-select files.

    How to rename multiple files at once in macos

    When you’re ready, right-click a file in the list and select Rename — or just press F2. Type a new “base name” for the files, such as My Vacation, and press Enter. The files will be renamed as My Vacation (1), My Vacation (2), and so on. This will give all those files a much more logical name, grouping them together.

    How to rename multiple files at once in macos

    Mac OS X

    Mac OS X’s Finder gained its own batch-rename function in version 10.10 Yosemite. These built-in batch renaming features are much more powerful than the built-in Windows ones.

    To get started, select the files you want to rename in the Finder, Ctrl-click or right-click them, and select Rename items. You’ll see a Rename dialog where you can choose between three options. Here’s what they do:

    • Replace Text: This option lets you perform a search and replace in the selected files’ names. Enter text you want to find and the text you want to replace it with. For example, you could replace the words “My Vacation” with “Paris Trip.” Or you could search for a bit of text and replace it with nothing at all, snipping that bit of text out of every file name.
    • Add Text: This option allows you to add some text to each file name. You can add the text either before or after the name.
    • Format: This is the most complicated option. You can “format” file names, using a base name and a number. This works similar to the equivalent renaming feature on Windows. You could also use the file’s associated date instead of a number. The number or date can appear before or after the base name.

    This may sound a bit complicated, but it’s not too bad. You’ll see a preview of the resulting file name appear below the Rename dialog, so you can see exactly how the files will be named. Feel free to experiment!

    How to rename multiple files at once in macos

    Linux

    Some Linux desktop environments come with an integrated batch-renaming tool, and some don’t. The Nautilus file manager used by Ubuntu’s Unity desktop and GNOME doesn’t have this feature built-in.

    If you’re using a KDE desktop, the standard Dolphin file manager does have this integrated. It works like the batch rename feature on Windows. Select multiple files, right-click them, and select Rename or press F2. Enter a base name for the files, including the # symbol somewhere in it. The # symbol will be replaced by a sequential number for each file name. For example, if you enter Photo # From My Vacation.jpg, you’ll get files named “Photo 1 From My Vacation.jpg,” “Photo 2 From My Vacation.jpg,” and so on.

    How to rename multiple files at once in macos

    The Xfce desktop and its Thunar file manager has an easy-to-use, powerful bulk rename tool built into it. To access it, select some files in Thunar, right-click them, and click Rename. This tool can do everything from renaming files based on their audio tags, inserting a date and time, numbering files, performing a search and replace, making text uppercase or lowercase, inserting or deleting characters at a specific position in the file name, and so on.

    Thunar’s interface is powerful, but it’s also fairly simple to understand. The preview of how each file’s name will look afterwards helps you experiment safely, so you can see exactly what its functions will do.

    How to rename multiple files at once in macos

    On other desktop environments, you can head to your Linux distribution’s software management program and install a bulk-rename tool. We do like Thunar’s Bulk Rename tool, even on GNOME and Unity desktops. Install Thunar on another desktop environment to get a “Bulk Rename” tool you can launch directly from your Linux desktop’s applications menu. Drag-and-drop files from your desktop’s file manager into the Bulk Rename window to start renaming them.

    How to rename multiple files at once in macos

    As on other operaitng systems, you can also batch-rename files from the terminal. The Linux terminal is so powerful that you can batch-rename files in all sorts of ways.

    Batch-renaming isn’t something every computer user needs to do regularly, but it is often useful. That batch of oddly named image files from your digital camera’s DCIM folder are prime targets for a good batch-renaming when you import them to your computer.

    Renaming files is something that occurs frequently, and in Linux on terminal, there are many ways to rename files. Let’s look at some of the main ways you can rename your files on Linux and other Unix based systems like MacOS.

    Linux Commands

    Renaming files with the mv Command

    The mv command moves a file to another place. It can also be used to move a file to the same location, and simply change it’s name. For example, if you wanted to rename a file called file-1.txt to file-2.txt , you would first cd into that directory, and run the following:

    Exit fullscreen mode

    This technically “moves” the file, but in reality the end result is that the file is renamed and in the same location.

    Renaming multiple files

    If you want to rename more than one file at once, we can’t just use the mv command. For that, we need to loop through each file we want to rename. We can use this in conjunction with the find command to find all the files that fit our criteria easily. For example, the below will find all .txt, .csv and .html files, and turn them into .js files:

    Exit fullscreen mode

    Let’s look at how this works in a little more detail:

    • We run a for loop, for f in $() . This will find all files, where it matches what is inside $() . In this example, it finds anything with the file type .txt, .csv, or .html. You can learn more about find here.
    • For each of the matching files, we run the mv command. We run mv $f $.js .
    • $f is the current matching file we are looping through.
    • $.html is saying rename any file with any extenstion ( could be , , etc), and change its name to the file name with our new extension, .js .

    After that, you’ll have successfully moved all files.

    How to rename multiple files at once in macos

    I’m sure there are hundreds of unorganized files on your Mac right now. Pictures from your vacation, PDF documents, downloads, TV episodes, and that doesn’t begin to cover it.

    The first step to organizing content is giving it a proper name, defining it. Then you figure out where it goes.

    That’s where batch renaming comes in, especially when you’re talking about photos, they become messy very fast. Till now, you needed to use a third party app to batch rename files but currently it’s built right into OS X Yosemite.

    Let’s take a look at how it works.

    Batch process all the things: I love batch processing. And it’s easy to do. You can batch resize images with RIOT, batch watermark them, add a border with Border Maker and compress image size with ImageOptim.

    How to Batch Rename Files in OS X Yosemite

    First, open Finder and go to the folder where the unorganized mess lies. Select all the files in question and right-click to bring up options.

    How to rename multiple files at once in macos

    You’ll see a Rename ‘X’ items… option. Clicking that will bring up the screen we’re looking for.

    Rename Options in Yosemite

    I’m going to be using a folder with all the screenshots for my Toggl review as an example. Above, they all have super long and weird names because they’ve been through a couple of apps for processing and each app adds some text to the end of the image. It would be great if I could rename them to something like Toggl 1, Toggl 2 and so on.

    In the popup window there are three options – Replace text, Add Text, and Format. Let’s look at these one by one.

    Replace Text

    How to rename multiple files at once in macos

    This one is pretty simple. You type in the text you don’t want under Find and then type the new text in the Replace with field.

    Add Text

    How to rename multiple files at once in macos

    This option lets you add text to the end or the beginning of the file name.

    Format

    This is the big one. It’s what I’m guessing most of us are going to be using. It lets you delete the current file name so you can start fresh.

    There are a couple of options to play around with here. There’s the Name Format and the Where option. For Name Format I’m choosing Name and Index because I want to add a number to the end of the file name. You can choose an index or date as well.

    How to rename multiple files at once in macos

    The Custom Format field is where you should write in the main text. The text that’s going to be similar on every file. Add a space or a hyphen at the end of this text if you’d like some space between the name and the number.

    For the Where option you can specify if you want the number to be placed at the front or end of the file name.

    Happy Renaming

    How to rename multiple files at once in macos

    That was pretty easy, wasn’t it? Now go on and rename all the things! But don’t forget to share the new titles with us in the comments below (kidding, make your comment count, please).

    Last updated on 03 February, 2022

    The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.

    Read Next

    • How to rename multiple files at once in macosHow to Batch Rename Files in Adobe Lightroom Adobe Lightroom is a great tool for editing your photos and giving them a more professional touch. Also, it supports many camera models by default…
    • How to rename multiple files at once in macos2 Best Ways to Rename Multiple Files at Once on Mac When it comes to Windows vs. macOS debate, many people often nitpick on features at several levels. One of the simplest is the ease of…
    • How to rename multiple files at once in macosHow to Rename iCloud Drive Files and Folders Despite its shortcomings, iCloud Drive still provides the most convenient way to back up and sync files within the Apple ecosystem. But if left unmanaged,…
    • How to rename multiple files at once in macosHow to Batch Convert Photos with Adobe Bridge Adobe Bridge is one of the best free alternatives to the Windows 10 Photos app. It aggregates all your media in the same place and…
    • How to rename multiple files at once in macosHow to Create and Rename Folders on Mac After using your Mac over time, it is tough to stay organized if you can’t keep your files in check. That said, you can manage…
    • How to Customize macOS Finder to Find Files More Easily The Finder in macOS is one of the best tools on any operating system for finding and managing your files. It’s been a staple of…
    • How to rename multiple files at once in macosHow to Rename Spotify Playlist on Mobile and Desktop Playlists play a major role in the music-streaming apps such as Spotify. They help us organize our collection of songs depending on their genre, mood,…
    • How to rename multiple files at once in macos5 Best Ways to Rename a Sheet in Microsoft Excel Here are five easy ways to rename a sheet in your Microsoft Excel spreadsheet file on Windows or Mac.

    DID YOU KNOW

    The Seiko TV Watch was one of the first watches to have a built-in TV.

    More in Mac

    • How to rename multiple files at once in macos

    Top 11 Notion Keyboard Shortcuts to Boost Your Productivity

    How to rename multiple files at once in macos

    Supercharge your OS X Desktop: Wallpaper, Icons, & Other Hacks

    JOIN THE NEWSLETTER

    Get Guiding Tech articles delivered to your inbox.

    Renaming files can be quite a tedious task. Ever faced the dilemma of having downloaded tons of files, and being faced with the prospect of looking for your documents, your music, your photos among a pile of junk.

    Even more so, when you have a pile of data from a similar source, say your phone’s images, all labeled IMG_20170102_xyz.jpg, a total haphazard sequencing.

    Curious to know how to sort your data, rename them, organize them, so that you don’t have to deal with the clutter, and be able to easily search among them.

    How to rename multiple files at once in macos

    Well then, you’ve struck the right place. Let us take a look at one of the simplest, yet most wanted aspects of personal computing. How do you rename multiple files and organize them just the way you want?

    There are numerous ways to rename files, including

    • Right click -> Rename: Too tedious, cannot be applied for correct sequencing. This method is only workable for single files, or a batch you file which do not need to be specifically organized.
    • Using Command Prompt / Power Shell / Terminal: This method allows a lot of control, including search and replacement of specific terms, specific sequencing and overall good organization of your files. But this is a manual method, and those who do not know the commands by heart, might face a lot of headaches to actually get any work done.
    • Using a third party software: By far the best solution available, there are numerous free and paid third party software, through which you can batch rename your files, sorted by folder, extension, name, just say how you want it, and its probably done. Not just that, these applications are a lot powerful about how much you can control in your file name as well.

    Today, let us take a look at some user-friendly free applications which can accomplish this job.

    For this purpose, we are going to look at one application each, for Linux, Windows and Mac OS

    • Linux: pyRenamer
    • Windows: Bulk Rename Utility
    • Mac OS: Name Changer

    Setting it Up

    Installing the application is the proverbial first step, and it is quite straightforward for all 3 platforms.

    Linux

    Windows

    Mac OS

    Renaming your files

    Once the application is done installing, let us open up the application and take it for a spin.

    Linux

    Opening up pyRenamer, we are presented with a blank screen as such.

    How to rename multiple files at once in macos

    Browsing to a folder whose files you want to rename, you will see a preview of the files, their original names and the renamed versions according to the parameters.

    How to rename multiple files at once in macos

    pyRenamer includes quite a bit of features, including

    • Substitutions
    • Spaces / Underscores
    • Replacements
    • Capitalization
    • Patterns
    • Insertion and Delete
    • Spaces
    • Text
    • Metadata
    • Music Metadata to Filename
    • Image Data to FilenamepyRenamer is pretty simple to use. You select all the files you choose to rename, choose your parameters, and simply click rename. Yeah, its that simple.

      Windows

      For Windows, we are using Bulk Rename Utility. Opening it up, we are presented with what we must admit, is a mind boggling user interface.

      How to rename multiple files at once in macos

      Bulk Rename Utility looks really complex, but trust us, it’s actually fairly simple when you look at it well. It is one of the most feature packed alternative available.

      How to rename multiple files at once in macos

      • Bulk Rename Utility packs everything, from adding characters to folder substitutions.
      • Regular Expression
      • Replace Text
      • Remove Character
      • Add Character
      • Date / Time
      • Numbering
      • Sequencing
      • Manual Naming
      • Letter Case
      • Append Folder Name
      • Extension changing
      • Move / Copy Parts
      • Filter text
      • Move / Copy Files according to their name

      Using the app is simple. You browse to the file directory, select your options and click the big blue rename button.

      Mac OS

      On Mac OS, we are using Name Changer. This has to be one of the simplest applications for bulk renaming your files. However, this isn’t necessarily a bad thing, as the app still serves its purpose perfectly.

      How to rename multiple files at once in macos

      Opening up, we are treated to an interface, which screams simple. We can drag all the files we require into this menu from the file explorer (or Finder, as Apple likes to call it).

      Name Changer is a very user friendly option, yet still manages to pack in most of the useful features we saw in pyRenamer and Bulk Rename Utility.

      • Replace First Occurrence With
      • Replace Last Occurrence With
      • Replace All Occurrence With
      • Append Text
      • Prepend Text
      • Wildcard Entry
      • Change Case
      • Sequencing
      • Date / Time based
      • Regular Expression based

      Using the app is as simple as dragging files, choosing the parameters and clicking rename.

      Conclusion

      Today’s discussion was purely a topic of organization and aesthetics. It’s true that you do not need to rename your files necessarily. It helps your computer be de-cluttered, as files are in their respective folder, named correctly, so you get rid of the junk you don’t require anymore.

      All in all, keeping your files well organized is just one step to being more productive daily.

      Like all feature requests, when we were asked for bulk/batch rename we wanted to give you the tools for the job that give you power and flexibility.

      Renaming hundreds of files at once on your iPad, Computer or in the Cloud has never been easier.

      Let’s show you how to rename multiple files on your iPad or iPhone using Filebrowser ‘s Bulk rename tools.

      Add Text

      You can add text to the beginning or the end of all the files you selected. For example “Presentation_Filename.pdf” or “Filename_Presentation.pdf”.

      Try our bulk rename tools today with a free trial of FileBrowserGO

      How to rename multiple files at once in macos

      Find and Replace

      Find and replace words within your file names. For example you could bulk rename all “.jpeg” files to “.jpg” files or replace “_DCS” as the prefix for all your files and change it to “IMG_”.

      This method would preserve existing image numbers in the filename.

      How to rename multiple files at once in macos

      Format

      Add an Index, a Counter or a Date before or after your existing filenames by leaving the Custom Format box empty. For example:

      • “IMG_0.jpg” Index
      • “IMG_0000.jpg” Counter
      • “IMG_2018-09-27 at 15.46.36.jpg” Date

      If you use the Custom Format box, existing file names will be replaced with the text. For example if you want to rename all your photos that were previously something like this:

      • “IMG_0156.JPG”
      • “_DSC0267543.JPG”
      • “Family_Holiday_9342.JPG”

      You can rename them all to be “Holiday_(date).JPG”, replacing any names they previously had.

      How to rename multiple files at once in macos

      Note: Photos in the iOS Photo Library cannot be renamed due to an iOS limitation.

      Download FileBrowser Today

      Connect with us:

      How to rename multiple files at once in macos

      Company
      Use our API

      If you need file access in your apps why not speak to us about using our file management SDK. See our API page for more.

      Stratospherix develops high quality software for iOS, macOS and tvOS.
      If permitted by your browser, this site uses cookies for anonymous statistics.
      See our privacy policy for more info.

      When you create a new folder, you don’t always get the name right the first time.

      Sometimes project names change or the way you refer to a project or client changes.

      Fortunately, you can always rename one or more folders on your Mac computer with a couple of clicks.

      Check out the products mentioned in this article:

      Macbook Pro (From $1,299 at Best Buy)

      How to rename a folder on a Mac

      Renaming a folder is very simple and there are two ways to do so.

      1. Navigate to the folder you want to rename. If it’s not near the top of your Finder window, type the name into the search field in the window.

      • Pro tip: if you know all or part of the exact name of your folder, your search will return fewer and more relevant results if you select Name Matches in the box that drops down after you type in your search terms.

      2. Click on the folder you want to rename. Then left-click once more, with your cursor over the name. Don’t double-click – that will open the folder.

      3. The full name of the folder is automatically highlighted. Start typing to completely write over the folder name. Or you can click to highlight a word or words you want to replace in the folder name.

      4. Alternatively, you can also right-click on the folder you want to rename, to pull up a drop-down menu. This can be useful if you’re having trouble clicking into the name field.

      5. In the drop-down menu, choose Rename and type in the new name.

      6. When you are done, simply hit enter.

      How to rename multiple folders on a Mac

      You can also rename multiple folders at once on your Mac. You might want to do this if a name that’s used in multiple folders changes.

      For example, your client Johnson LLC might merge with Wilson Inc to form The Wil-John Company. Rather than laboriously renaming all your Johnson folders, you can use this technique to make them Wil-John all at once.

      1. As in the first example, find the folders you want to rename.

      2. Highlight all the folders you want to rename. To do this, click once to highlight the first folder, hold down the shift key, and click once on the last folder in the sequence. If you want to change the name of non-sequential folders, hold the command key while you click once on each folder you want to rename.

      3. Right click on your highlighted folders. The drop-down menu will include an option to Rename [number] items. In this example, we are renaming 5 items at once.

      4. A box will pop up to allow you to replace text. Type the text you want to replace in the “Find” field and the replacement text in the “Replace with” field. In this example, we replaced Test Folder with Renamed Folder, while leaving the serial numbers in the folder names.

      5. Click rename. All your folders now have new names.

      6. You can also add text to multiple folders at once. Click the Replace Text box above the Find field and choose Add Text. Click on the last column on the right to choose between adding text after or before the existing folder name.

      7. Click Rename when finish composing the new folder name. Be sure to add a space before or after the new text to avoid it from colliding with the existing folder name.

      One of the novelties introduced in Apple’s desktop operating system OS X Yosemite – batch file renaming – will surely be demanded by many users who work with large amounts of information, compile multi-level presentations, etc.

      In fact, batch file conversion has been possible before, but it was done with Automator software or through third-party utilities like Name Mangler, Advanced Renamer, etc. But naturally, being able to use the native feature will make life easier for many Mac owners.

      How to rename multiple files at once in OS X Yosemite

      Thus, to rename multiple files at once in OS X Yosemite just highlight them, open the context menu and select «Rename objects«. Here are three batch renaming options:

      1. Replace text. This function allows you to replace a specific text in the name of all the selected files with an arbitrary text. To do this, simply enter the combination of characters you are looking for in the field “Find”and the desired option in the field “Switch for”;

      2. Add your text. Unlike the previous one, this function will simply add text to the names of the selected files (to the right of it);

      3. Format. It is by far the most useful function, as it allows you to give all selected objects the same name with an automatically assigned ordinal number (which can be placed before or after the name). For example, specifying in the field Arbitrary format “December” and in the field Start with the number “1”, we get files like “December-1”, “December-2”, etc.

      How to rename multiple files at once in macos

      I work with a lot of content. Between my writing-heavy day job, freelance side hustle as a lifestyle journalist, and amateur photography hobby, I handle a lot of files. Word docs, JPGs, PDFs, PNGs — you get the picture. As you can imagine, I’m always looking for ways to make my workflow more efficient to save myself some time. I recently discovered CNN Underscored’s hack for renaming multiple files at once on a Mac on TikTok, and now I feel silly for having manually renamed files one by one for years.

      I’ll be the first to admit that I’m one of those people who can be easily intimidated by savvy computer hacks. But this one looked simple enough that even tech-intimidated me decided to give it a try. As it turns out, this hack couldn’t be any simpler. I know that I’m personally going to start using this little trick whenever I’m batching photos together by event or if I’m using a specific set of images for a blog post. Eager to learn this file-naming hack? Here’s how it’s done:

      First, hold down the shift key and use your mouse to select all of the files you wish to rename.

      How to rename multiple files at once in macos

      Once your files are selected, right click and select “Rename.”

      How to rename multiple files at once in macos

      In the “Custom Format” field, type in the name you’d like to use for your batch of files. Then, in the “Start numbers at” field, type in the numeric value you’d like your file naming to begin with. In most cases, this will probably be the number one. You’ll notice that the window generates a handy little preview of how your file names will appear in the bottom left corner.

      How to rename multiple files at once in macos

      Once you have those two fields filled in, click “Rename.” All that’s left to do now is stand back and behold the magic that is this file-naming hack!

      How to rename multiple files at once in macos

      Even though you may not often find yourself needing to do this, your Mac has a convenient tool that allows for easy management of large groups of files, including renaming a lot of them with a single action, once you set your desired options. This article will give you a few quick and easy steps to follow if you want to change the extensions of a lot of files at once.

      If you need to change the extensions of a group of files at the same time, you will first need to make sure you have all their original extensions displayed in the first place.

      Open Finder, then click on Preferences. In the preferences window, click the Advanced tab and check the box that reads “All Filename Extensions”. Next, close the Finder preferences window, to apply your new setting.

      Once you have done that, open Finder and navigate to any directory or folder that contains the files you need to change to a different extension.

      Select all files you need to apply new extensions to, and once they are all selected, either right click or Control-click any of the highlighted selected files. Once the drop-down menu shows up, select “Rename items”.

      A new window will come up. Click the dropdown menu button near the top and select “Replace text” in it. Next, in the “Find” box, enter the original extension of the selected files, for example “.jpg”. Finally, in the “Replace with” box, enter the new extension of the files you want to apply, let’s say “.png”.

      Once you have entered both extensions, with the dots in front of them included, click the “Rename” button. This will take care of instantly renaming all selected files and changing their extension to the new one you need.

      You can perform similar tasks with file names, renaming a series of images in sequential order, as well as a number of other file-related operations, all of this within Finder, depending on your exact goal and purpose.

      How to select more than one file on your Mac

      How to rename multiple files at once in macos

      How to rename multiple files at once in macos

      • Tweet
      • Share
      • Email
      • Tweet
      • Share
      • Email

      What to Know

      • Hold down the Command key on your keyboard, then click each file to select multiple files.
      • Hold down Command and A to select all files in a folder.
      • Use your mouse to select files by clicking and dragging. If you have a multi-button mouse, left-click and drag to select the files.

      This article teaches you multiple methods to select more than one file on your Mac. It looks at the most straightforward approach first then offers alternatives.

      How Do I Select Multiple Files at Once?

      If you want to select multiple files within a folder on your Mac, the process is quite simple once you know what to do. Here’s how to select multiple files at once.

      This process also works if you wish to select multiple folders too.

      Open the folder containing the files you wish to select.

      Hold down Command on your keyboard while left clicking each file.

      How to rename multiple files at once in macos

      Once selected, you can now drag them elsewhere, delete them or do any other task that you would do with one individual file.

      How Do I Select All Files in a Folder?

      If you’d prefer to select all files in a folder rather than click on each file individually, there’s a convenient shortcut for doing so. Here’s what to do.

      If you want to deselect one file, hold down Command and left-click the item.

      Open the folder containing the files you wish to select.

      Tap Command and A on your keyboard.

      How to rename multiple files at once in macos

      All files are now automatically selected within the folder.

      How Do I Select Multiple Files at Once With the Mouse?

      It’s also possible to select multiple files simultaneously with the mouse rather than using keyboard commands. Here’s how to do so.

      Open the folder containing the files you want to select.

      Left-click drag the mouse down the selection of files you want to highlight.

      How to rename multiple files at once in macos

      Release the mouse and the files will remain selected.

      How Do I Select Multiple Emails or Messages at Once?

      The process is slightly different if you’re trying to select multiple emails or messages on your Mac, such as via Mac Mail. It’s still straightforward to select multiple messages in Mac Mail, however.

      Why Can’t I Select Multiple Files on a Mac?

      Generally, selecting multiple files on a Mac is pretty straightforward. If you find you can’t, there may be some easy-to-fix methods you can try instead. Here’s a look at what the problem could be.

      • You’re holding down the wrong key. If you’re used to Windows systems, it’s easy to press the wrong key when selecting multiple files. Be aware of which keys you’re using.
      • You’re right-clicking instead of left-clicking. Similarly, make sure you’re pressing the correct button on your mouse or trackpad.
      • You’re not dragging correctly. If you’re new to Macs, it can be easy to drag the mouse or trackpad wrong, so it doesn’t work as well as it should. Practice the dragging motion before moving files.
      • There’s a problem with macOS. Try restarting your Mac if the problem persists. Sometimes, Finder can just run into some issues for no particular reason with a restart correcting the problem.

      If you want to see all your files in Mac Finder, open the Terminal and enter the appropriate command to show hidden files on Mac. Be careful when dealing with hidden files.

      To see the location path of a file, enable the Finder Path Bar by opening Finder and selecting Show Path Bar in the View menu. The Path Bar shows the path from the folder you’re currently viewing to the top of the file system.

      To unzip a file or folder on Mac, all you need to do is double-click the zip file. The file or folder decompresses in the same folder as the compressed file.

      To delete files on a Mac, right-click the file you would like to delete, then click Move to trash. Then click the Trash can to open your Trash, right-click the deleted file(s) in the trash and click Delete Immediately.

      These mentioned articles have all answered my question. However none of them work for me. I suspect it is because the string I am trying to replace has a # in it. Is there a special way to address this?

      I have image file that had an é replaced by #U00a9 during a site migration. These look like this:

      and I want to change it to something like this:

      These examples all start with “LU00a9ucky but here are many images with different names. I am simply targeting the “#U00a9” portion of the string to replace with “safe”.

      11 Answers 11

      To replace # by somethingelse for filenames in the current directory (not recursive) you can use the GNU rename utility:

      Characters like – must be escaped with a \ .

      For your case, you would want to use

      Note that if you only want to operate on a certain selection of files, e.g., only *.jpg , adjust the final input to match that selection:

      To perform a test before actually changing filenames, use the -n flag:

      For OS X, GNU rename can be installed using homebrew: brew install rename .

      How to rename multiple files at once in macos

      This is not hard, simply make sure to escape the octothorpe (#) in the name by prepending a reverse-slash (\).

      find the list of files and then replace keyword. below is example

      To escape # from the shell, just use single quotes ( ‘#’ ), double quotes ( “#” ), or backslash ( \# ).

      The simplest in your case would be to use the rename command (if it is available):

      not sure how to in sed, but you can try this in a bash shell:

      1. loops through all file names matching the glob (Lucky-#U00a9NBC-*.jpg)
      2. renames file using the move command(mv)
      3. uses native bash parameter substitution $ to craft the new name (“$“)

      More on parameter substitution (which is highly underutilized IMO): http://www.tldp.org/LDP/abs/html/parameter-substitution.html

      How to rename multiple files at once in macos

      The above examples were not working on my system (CentOS 5.6) so I found a (possibly more system-specific) command that works (note: need to escape ‘#’ with \ on command line):

      rename \#U00a9 safe *.jpg

      [Also: I don’t have enough reputation yet to comment, so in response to Nikhil’s question regarding the use of /g in rename ‘s/old_string/new_string/g’ (posed in the comments for another answer above):

      May be most of us are suffered with this problem that we need to rename multiple files in a folder, to rename the filenames one by one will make us crazy if there are hundreds or thousands files in that folder. Are there any good functions for us to deal with this task?

      List all file names from a specific folder in worksheet with kutools for Excel

      If there are multiple files that you want to rename, first, you can list the old file names in a column of worksheet, and then enter the new filenames that you want to replace with. To quickly list all files in worksheet, you can use the Kutools for Excel’s Filename List utility.

      After installing Kutools for Excel, please do as follows:( Free Download Kutools for Excel Now )

      1. Click Kutools Plus > Import & Export > Filename List, see screenshot:

      2. In the Filename List dialog box, click button to choose the file folder that you want to list the files, and then click All files from the Files type, see screenshot:

      3. Then click OK button, all the filenames have been list in a column of a new worksheet, as well as some file attributes, and now, you can delete other unwanted columns and only leave the File Name column, see screenshot:

      Rename multiple files of a folder in Excel with VBA code

      After listing all original filenames in one column A, and you should type new filenames in column B as following screenshot shown:

      And here I will talk about a VBA code which may help you to replace the old filenames with the new filenames at once. Please do with following steps:

      1. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications Window.

      2. Click Insert > Module, and paste the following macro in the Module window.

      VBA code: Rename multiple files in a folder

      3. After pasting the code, please press F5 key to run this code, and in the Browse window, select the folder which you want to change the filenames in, see screenshot:

      4. And then click OK, all the old filenames have been replaced by the new filenames immediately. See screenshots:

      Notes:

      1. When you list your old and new filenames, the file extension must be included.

      2. In the above code, the reference A:A indicates the old filenames list you want to rename, and reference B contains the new filenames that you want to use, you can change them as your need

      Often you might find you have a folder containing hundreds of files, and you want to rename them all, for example to create a numbered list. In the Finder this would take ages, but luckily you can use the Automator app that comes free with every make to save yourself time and effort.

      Start by opening up the Automator app (in the Applications folder) and create a new workflow. Add the following actions by dragging them from the list on the left. First add “Get Specified Finder Items” followed by “Sort Finder Items” followed by “Rename Finder Items”. Your workflow should look something like the screenshot below. When you add the “Rename Finder Items” action, you will be asked if you want to create a copy of the files. Generally you won’t want to do this, so click the “Don’t Add” button.

      Also, once added, the name of the “Rename Finder Items” action will change to “Add Date or Time to Finder Items” – don’t worry, this is normal. This is just the default setting, which you can change by choosing a different option from the first drop-down menu inside the action.

      How to rename multiple files at once in macos

      What the workflow does is pretty straightforward. When you click Run in the top right, it gets the files you have added to the list in the first action. You can add the files by clicking the Add button below the list before you run the workflow. The second action then sorts the files by name, size, kind, or whatever you specify. The final action takes this list of files and modifies their file names.

      There are a huge amount of options in the “Rename Finder Items” action. The first drop-down menu allows you to choose between adding a date or time, adding text, changing uppercase/lowercase, making a sequential list or performing a find and replace for a string of text.

      The second action, “Sort Finder Items” is really optional and only makes a difference if you have the renaming action set to “Make Sequential”. This takes the list in the order it is given and places sequential numbers before or after the file names depending on the files position in the list.

      How to rename multiple files at once in macos

      There are a couple of alternative actions that you can use instead of the first “Get Specified Finder Items”. One option is to use “Get Selected Finder Items” instead, which will perform the renaming on whatever files you currently have selected is in the Finder. Another is “Ask for Finder Items”, which will open up a dialog prompting you to choose the files each time you run the workflow. This is a good choice if you want to regularly perform the same renaming on different batches of files. You can then save the workflow as an application (File, Save As. and then choose Application from the File Format menu) that simply runs the workflow when you open it. This gives you a shortcut so you don’t have to open up Automator every time.

      In this Article.

      Have you used publish in AutoCAD to create single sheet PDF? AutoCAD will create the file name automatically.

      AutoCAD will publish the PDFs by using the layout name. The only option you have is to add file name as prefix. There is no option to create PDFs using file name only.

      How to rename multiple files at once in macos

      Now what if you want to have multiple PDF files that use file name? You can’t.

      What you can do is to publish them with format file name and layout name, then rename them. Hai Le shares how this can be done quickly and easily. You can use MS-DOS command “rename” using wildcards.

      It has limitation, but if your PDF file name follow a pattern like image above, then you can use this method.

      This is not really an AutoCAD tips. We will use command prompt and don’t touch AutoCAD at all.

      Working with command prompt

      Many people today don’t work with command prompt anymore. So let’s start with some introduction.

      To open command prompt

      To open command prompt, hold win key + R. Win key is the one on your keyboard with Windows logo.

      This will open run window. Type CMD then press enter.

      How to rename multiple files at once in macos

      Now you have command prompt window open. In this window, you can type old school MS-DOS commands like copy, delete or rename.

      To navigate to files folder

      First thing you need to do is to change the active folder to your PDF location.

      You can use CD to change folder (CD stands for change directory. Before Windows, we call it directory instead of folder).

      If I want to open c:\data then I can use cd c:\data . You can see the prompt changed to new active folder.

      Understanding the wildcards

      Before we start to rename the files, let’s try to understand about wildcards first. You need to understand the file name pattern before you can rename your files.

      The command to rename file is

      Rename A.PDF B.PDF will rename file A.PDF to B.PDF.

      But in this case, we want to rename multiple files at once. So we need to use wildcards. We can use wildcards * or ? for this purpose.

      To get all file name with a defined name length

      If we use ? then it will accept any alphanumeric character.

      . PDF will accept all PDF files that have name with 4 characters long:

      • 1234.PDF
      • S-01.PDF
      • AR01.PDF

      To get all file name with undefined name length

      The * wildcard will accept all characters regardless how many character they have.

      *-Layout1.PDF will accept all files that end with –Layout1.PDF

      • Floor Plan-Layout1.PDF
      • AR01-Layout1.PDF

      *-Layout*.PDF will accept all files that has –Layout in the file name, with PDF as file extension.

      • Floor Plan-Layout1.PDF
      • Site Plan-Layout2.PDF
      • Section-Layout14.PDF

      Using rename command

      Now that we understand how to use wildcards, let’s see how to use rename command with wildcards.

      Now let’s see how we can use wildcards when renaming the files.

      The command above will try to find all PDF files, then rename them. It keeps only first 4 characters, ignore the file name after 4th character.

      How to rename multiple files at once in macos

      We have a small problem. In this example you can see AS-01-Layout01.PDF is renamed to AS-0.PDF. We want the result to be AS-01, not AS-0. We need the result as 5 characters for this particular file.

      We need to make a better file name pattern. Let’s try again.

      This command will rename the files as follows

      How to rename multiple files at once in macos

      As you can see, the AS-01 was not renamed. You can use rename command again here if you have many files like this. If there’s only one, you can also rename it from File Explorer.

      Creating a batch file

      If you need to do this regularly, it’s a good idea to create a batch file. Especially if you have multiple file pattern.

      You can create a batch file using notepad. Type each command in separate lines like below.

      This batch file will run the rename command twice, for 2 different file name pattern.

      How to rename multiple files at once in macos

      After you created it, save it with .bat as file extension. When you save from notepad, use double quote (“) like below.

      When you need to rename files in a folder, just copy this batch file to the folder. Double click to execute the commands.

      Conclusion

      Not every problem can be solved from within AutoCAD. Sometimes we need to improve and use other tools. Command prompt and batch file is a great tool, and knowing them will help.

      Do you have any other command prompt and batch file experience that you can share with fellow CAD users? Share them here!

      Special thanks to Hai Le for the great tip!

      About Edwin Prakoso

      I work as a Solution Consultant in Datech Solutions, Tech Data Indonesia. I’ve been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and also active in Autodesk discussion forum.
      I’m an Autodesk Certified Professional (ACP) for Revit Architecture and AutoCAD. I’m also a member of Autodesk Expert Elite, appreciation for individuals who give contribution to Autodesk community.
      Connect with me on twitter or LinkedIn

      Written by Kelsey Kinzer on February 25, 2022

      Share This Article

      This article continues our series on the common commands every Mac admin must know. The first article in the series explored how to enable SSH to access a remote Mac’s Shell securely.

      Whether you work for a small, mid-size, or large enterprise, knowing how to change a Mac’s name is important. You likely manage more than one computer, and discretely naming each device will allow you to identify and distinguish between them. Unique names — customized to your preferred naming conventions — make collaborative work easier, such as sending and sharing files between different computers.

      In this article, we will explore how to rename computer name, hostname, and local hostname on macOS.

      What Is Computer Name, Hostname, and Bonjour Hostname?

      As the name implies, a computer name is a user-friendly label used to identify your computer. Similarly, a hostname is an identifier assigned to a computer in a computer network. It is used to identify the device in various network communications, and can be used when connecting to it via SSH (Secure Socket Shell) for remote login.

      Your Mac’s bonjour name is also known as its local hostname. It allows the computers on your local network to access and connect with your computer. You can see your Mac’s local hostname beneath the computer name by navigating through System Preferences > Sharing.

      For instance, in Figure 1, the computer name is JumpCloud Platform and the local hostname is jumpcloud-platform.local.

      How to rename multiple files at once in macosFigure 1

      How to Rename Computer Name, Hostname, and Bonjour Name via the Terminal

      You can customize how your MacBook appears with the use of the scutil command via the terminal. In this section, we will explore how to use the scutil command to change a Mac’s computer name, hostname, and bonjour (local host) name.

      Changing the Computer Name

      1. Launch the terminal app on your MacBook.

      You can do this by searching “terminal” in the Spotlight search option of your computer or by navigating through Applications > Utilities > Terminal.

      To rename the computer name, enter and execute the following scutil command:

      sudo scutil –set ComputerName YourComputerName

      For example, to rename our computer name from JumpCloud to JumpCloud1, we only need to execute the following command via the terminal (refer to Figure 2):

      sudo scutil –set ComputerName JumpCloud1

      You may be required to provide your password when you run the command; therefore, input the password accordingly. Note that we added sudo to the command to elevate admin privileges.

      Figure 2

      1. Confirm the change.

      After renaming the computer, the terminal will not display any message or notification to confirm the success of the change. However, you can use the –get flag to check your work. All you need to do is to run and execute the text below. As seen in Figure 3, the computer name is now JumpCloud1.

      sudo scutil –get ComputerName

      Figure 3

      Changing the Hostname

      To rename the hostname, we will follow a procedure similar to what we did when renaming the computer name. Open the terminal and run the following scutil command:

      sudo scutil –set HostName YourHostName

      For example, we would like to rename our hostname from jumpcloud to jumpclouddirectory.example.com by running the command below (Figure 4):

      sudo scutil –set HostName jumpclouddirectory.example.com

      To confirm the change, we need to run the following command:

      sudo scutil –get HostName

      As seen in Figure 4, the new hostname is jumpclouddirectory.example.com.

      Figure 4

      Changing the Local Hostname

      Changing your Mac’s bonjour name (also known as the local hostname) follows the same procedure as the two previous tasks. All you need to do is to run the scutil command below:

      sudo scutil –set LocalHostName YourLocalHostName

      For example, we can change our computer’s local hostname from jumpcloud-platform.local to jumpcloud-seamless.local (Figure 5).

      sudo scutil –set LocalHostName jumpcloud-seamless.local

      Like the previous tasks, you will not get any notification or message after renaming the bonjour name. However, you can confirm the success of the task by running the following command:

      sudo scutil –get LocalHostName

      As seen in Figure 5, the local hostname is now jumpcloud-seamless.

      How to rename multiple files at once in macosFigure 5

      Taking the Alternative GUI Route

      In addition to renaming your computer name and local hostname via the terminal, you can also navigate through System Preferences > Sharing to make the changes. Once in the Sharing pane, simply type your preferred computer name in the field provided as shown in Figure 6. Then, click Edit to change the local hostname. A pop-up will appear where you can insert your preferred local hostname. Afterwards, click on OK (Figure 7).

      How to rename multiple files at once in macosFigure 6 How to rename multiple files at once in macosFigure 7

      Moving Forward

      You now understand how to use the scutil command to rename your macOS computer name, hostname, and local hostname. As a Mac admin, this understanding will help you work smarter as you manage multiple macOS systems.

      You may also want to consider leveraging a cloud directory platform like JumpCloud to easily manage all of your macOS, Windows, and Linux devices. From a single cloud-based admin console, you can manage access, user privileges, and security settings across your entire fleet. You can even set up the name change commands in the Commands section of the JumpCloud console and then assign the commands to device groups as needed.

      Test out the full functionality of our platform in your own environment by signing up for JumpCloud Free today. You can manage up to 10 users and 10 devices for as long as you need without paying a cent. For the first 10 days, enjoy 24/7 premium in-app chat support every step of the way.

      Rename Command

      Rename command is available by default in most Linux distributions, and it can be used to batch rename multiple files and folders at once. In case it is not available by default on your Ubuntu installation, you can run the command below to install it:

      You can install rename in other Linux distributions from the package manager. You can also compile it from its source code available here.

      The Rename command is written in Perl, and you have to use “Perl Expressions” to batch rename files. If you have already used regular expressions in programming languages like Python, you will find Perl expressions similar though there are some differences. Below are some most common use cases and patterns for the Rename command. For advanced and custom use cases, you may refer to the documentation for Perl expressions.

      To rename multiple files at once by replacing a substring, run a command in the following format:

      For instance, assuming there are three files in a folder having names “file1.txt”, “file2.txt” and “file3.txt”, the command below will replace substring “file” with “text”, resulting in new names being “text1.txt”, “text2.txt”, and “text3.txt”.

      After running the above command, you should get the following output in the terminal:

      file1.txt renamed as text1.txt
      file2.txt renamed as text2.txt
      file3.txt renamed as text3.txt

      You can also select multiple “n” numbers of files that use the same extension using the asterisk (*) wildcard character.

      The command above can also be used to remove substrings. To do so, do not supply any string or character in the second part of the command. In other words, keep the replacement string blank by completely omitting the second part.

      You can prepend a string (without replacing anything) before file names using a command in the following format:

      Replace “your_prefix” part with your desired prefix. For instance, the command below will prefix “.txt” files with “text_” prefix.

      To append a string at the end of file names but before the extension, use a command in the following pattern:

      Replace all three “.txt” parts with your required file extension and replace “your_suffix” part with your required suffix. For example, the command below will add a suffix “text” to “.txt” files.

      Note that all commands listed above can also be used to bulk rename directories.

      Using Default File Managers Shipped with the Distribution

      Many file managers in Linux distributions have built-in support for batch renaming files. For example, file managers like Caja, Nautilus, and Dolphin can rename multiple files at once through a GUI interface. To invoke the bulk rename tool, select multiple files and hit key. You can also find an entry for the bulk rename option in the “Edit” menu option. The screenshot below shows the batch rename tool in Caja file manager, installed by default in Linux distributions using the MATE desktop environment. You can find similar options in other file managers by looking into the main menu bar located at the top.

      As visible in the screenshot, the graphical rename tool can run several insertion and replacement operations on the selected files. You can also install these file managers in any Linux distribution using any desktop environment, and they can be used in conjunction with pre-installed file managers.

      CoreRenamer

      CoreRenamer is a free and open-source graphical file renaming tool available for Linux. You can use it to add substrings, replace existing substrings, format names using various patterns, modify file extension names, and so on. It also comes with an undo and redo feature so that you can revert your changes before clicking on the “Rename” button.

      You can download and install CoreRenamer in all major Linux distributions from the FlatHub store.

      KRenamer

      KRenamer is a free and open-source bulk rename tool available as a part of the KDE application stack. It can also be used in other desktop environments that don’t use KDE libraries by default. It can rename files using a variety of patterns, including replacing, adding, and removing substrings. It can also change the case of file names and comes with a few useful plugins. One of the plugins can be used to rename files based on the metadata information it contains. Other plugins can add counters, add current date and time, or transliterate strings.

      You can install KRename in Ubuntu using the command mentioned below:

      KRename can be installed in other Linux distributions from the package manager. You can also compile it from its source code available here.

      Conclusion

      These are some of the best ways to rename multiple files at once in Linux. These commands and applications can be used to batch rename both files and directories using pre-defined or user-defined patterns.

      About the author

      Nitesh Kumar

      I am a freelancer software developer and content writer who loves Linux, open source software and the free software community.

      How to rename multiple files at once in macos

      If you’re dealing with a lot of files everyday, chances are that your file system is messed up: poorly named files in your collection can waste a lot of your time finding the right file.

      Confusing file names can affect your overall productivity. To deal with this issue, you might want to rename your files.

      Benefits of Renaming your Files & Adding Prefix

      There are multiple benefits of renaming your files:

      • Makes it easy to organize your files
      • Files become accessible in few clicks
      • Search results are not cluttered with too many unwanted entries
      • As there is no confusion with file names, you don’t spend time working on the same file again
      • Setting logical names to your files help you distinguish them from other files

      Using Command Prompt

      Command Prompt is the default command-line interpreter in Windows. You can use Command Prompt to automatically rename multiple file prefixes. To rename your files, you need to first set the active directory and then execute the main query.

      1. Type Command Prompt in the Search Box on your Taskbar.
      2. Open Command Prompt from the search results.
      3. Set the active directory to the folder that contains the files you want to rename:
        • cd
      4. Type the following command to rename your files:
        • for %a in (*.*) do ren “%a” “prefix – %a”

      Using Windows PowerShell

      Windows PowerShell is an interactive command-line shell primarily used by system administrators and IT professionals. PowerShell supports batch renaming of your files and adding prefix. Here’s how:

      1. Type Windows PowerShell in the Search Box on your Taskbar.
      2. Open Windows PowerShell from the search results.
      3. Set the active location to the path that contains your files:
        • cd
      4. To rename your files:
        • dir | Rename-Item -NewName

      Using File Explorer

      File Explorer was earlier known as Windows Explorer. We use it almost everyday to browse through our files and folders. With a few handy tricks, we’ll use the File Explorer to rename multiple files in our collection and get rid of disorganization.

      1. Open File Explorer.
      2. Go to the folder that contains your files.
      3. Select the files you want to rename.
      4. Press F2 key.
      5. Type a new name for your files and then press Enter.

      Using Easy File Renamer

      Easy File Renamer is powered with multiple renaming patterns to make the task simple and easy. With just a few steps, you can select the files to rename, your renaming pattern and proceed.

      Easy File Renamer lets you batch move or batch copy files without errors. Smoothly copy and move large files without encountering any error. You can also rename music tags using the music tag fixer feature.

      With your purchase of Easy File Renamer, you get a complimentary subscription to Cloud File Renamer. Using CFR, you can rename files stored on different cloud platforms such as Amazon S3, Google Drive, Dropbox and OneDrive.

      Steps

      1. Download Easy File Renamer.
      2. Click on the System Renamer tab.
      3. Click on Add Files and select the files you want to add for renaming.
      4. Select your desired renaming rule from the left-side panel
        • Insert text
        • Remove or replace text
        • Change the text case
        • Add prefix
        • Add postfix
        • Add numbering
      5. Click on Add Rule.
      6. You can apply multiple renaming patterns at once.
      7. Click on Rename.

      Conclusion

      That’s it, at least for now: I hope that this small article will help those who are looking for a simple and convenient way to bulk rename their files.

      I want to change the file names and switch columns in SharePoint. (Name to Title, Code to Name).

      There are about 1,000 files in the library.

      How I can rename multiple files faster than by managing the list items using Quick Edit?

      How to rename multiple files at once in macos

      2 Answers 2

      One way to do this is by creating a PowerShell script, the PnP PowerShell Library is a popular choice to manage SharePoint (both on premise and online).

      Example follows to mass update a list. Note that the Name columns internal name is FileLeafRef.

      How to rename multiple files at once in macos

      Rune’s script is great. One thing to add is that you it may be better to use

      There are chances user is using another account to login the machine. It may cause some trouble if end user have no idea about PowerShell.

      You will need to have SharePoint Online Management Shell to run scripts.

      Another out of the box option is to use a Power Automate flow. A sample flow like below will create a new file with new name and then update the properties according to your requirements. It is not a perfect solution as it runs much slower than PowerShell, and Power Automate does not allow us to change file names; we have to create new ones and delete the old ones. And as the code column often does not include the extension, you may need to do other work to have the correct extension.

      I only provide this as an option if you really do not want to use a PowerShell Script.

      The Automator app on Mac can be used to automate a wide variety of tasks to avoid mundane routine and save some time. For instance, you can use it to create a service to perform actions like rename multiple files, resize multiple images, convert PDF to images, and a lot more.

      How to rename multiple files at once in macos

      So, in this article, we demonstrate to you how to use Automator to batch convert images from one image format (PNG) to another (JPEG). If you wish to convert to another format, you can choose to do so by selecting your desired input/output format from the different options available.

      Create Service to Convert Images from PNG to JPEG

      1. First, open the Automator app, and click New Document on the dialog box.

      How to rename multiple files at once in macos
      2. In the Choose a type for your document section, select Quick Action.

      How to rename multiple files at once in macos

      3. On the next screen, from the right pane, select image files from the dropdown menu beside the Workflow receives current option.

      How to rename multiple files at once in macos

      4. Now, let’s create a separate folder for the converted images. This is because, in case something goes wrong, you always have access to the original image. For this, on the leftmost pane, select Files & Folders, and beside it, from the right pane, select New Folder and drag it into the workflow area on the right. Give the folder a name and location. For convenience, let’s call it ‘PNG to JPEG’.

      How to rename multiple files at once in macos

      5. Again, with Files & Folders selected, click on Get Folder Contents and drag it below the previous action in the workflow area.

      How to rename multiple files at once in macos

      6. Next, on the leftmost pane, select Photos, and from the right pane beside it, select Change Type of Images, drag it below the previous action. On the pop-up that appears, hit Don’t Add, since we are already saving the converted images to a different folder. Now, on the new action window, select ‘JPEG’ from the dropdown menu for To Type.

      How to rename multiple files at once in macos

      7. Finally, select Save from the top menu or press command + s and give a name to the service. For future reference, let’s call it ‘PNG-to-JPEG’.

      Execute Service

      1. To execute the service you just created, head over to the folder that contains the PNG image(s) you wish to convert. And from here, select all images.

      2. Now, control-click for a right-click, and from the Services, select (name of the service/PNG-to-JPEG) to execute it.

      How to rename multiple files at once in macos

      3. Once done, you will notice a folder appear on the Desktop or the location that you selected in Step-4 for how to create service, above.

      Create Shortcut to Execute Service

      Although the process for converting a PNG image to JPEG has minimized considerably with the service we just created, it still requires you to perform a few steps. Fortunately, there’s a way to avoid this by assigning a shortcut (key combination) to the service we created.

      1. Open System Preferences and choose Keyboard.

      How to rename multiple files at once in macos

      2. Next, on the top bar in the dialog box, select Shortcuts.

      How to rename multiple files at once in macos

      3. Now, in the left pane, select Services, and from the right pane, tap on the service we just created.

      How to rename multiple files at once in macos

      4. Upon clicking the service, you will see an Add Shortcut option. Tap on it and enter a key combination that you want to use to trigger the service, the one that you can easily remember.

      Now, to execute the service using the shortcut, navigate to the folder with the PNG image, and select the images that you want to convert to JPEG. Once done, hit the key combination you assigned to the service. And that’s it! You should now see a folder pop-up with the JPEG equivalent for your selected PNG images.