Mac Basics: How To Rename Files

Learn how to simply rename a file in the Finder. Also learn how to rename a file while you are working on it inside an app, and how to batch rename multiple files.

Video Summary

In This Tutorial

Learn how to rename files on your Mac in the Finder, using keyboard shortcuts, directly inside apps, and even in batches. I’ll also show you how to undo renames, use AI name suggestions, and safely rename files while they’re open.

Rename Files Using the Finder (00:22)

  • Select a file in Finder and choose File > Rename to edit the name
  • Initial selection highlights only the name, not the extension
  • Use Command A to select the whole name including the extension
  • Press Return to confirm the new name

Tips: Esc To Cancel, Show File Extensions (01:40)

  • Press Esc to cancel renaming if you change your mind
  • Show all file extensions in Finder > Settings > Advanced > Show All File Name Extensions

You Can Also Click Twice Or Use a Keyboard Shortcut (02:12)

  • Single-click to select a file, then click again after a short pause to rename
  • Double-clicking too quickly will open the file instead

Rename Files Using A Keyboard Shortcut (02:47)

  • Select a file and press Return to start renaming
  • Type the new name and press Return to finish

Tip: You Can Use Undo After Renaming A File (03:27)

  • Use Command Z or Edit > Undo to revert a rename immediately

File Rename Works the Same In All Finder Views (03:57)

  • Works in List, Icon, Column, and Gallery views
  • File > Rename, delayed second click, and Return all function the same

Using AI Suggested File Names (04:24)

  • macOS can suggest file names based on file contents
  • Suggestions appear when starting to rename in Finder or apps
  • Turn off in Finder Settings > General > Suggest File Names

Rename Files In the Finder While They Are Open (05:02)

  • You can rename files safely even while they are open in apps like Pages
  • The open document updates automatically with the new name
  • You can also move files to new folders while open in most document-based apps

Rename Files From Inside Apps (06:20)

  • Use File > Rename or click the title bar drop-down to change the file name
  • Changes reflect immediately in Finder
  • Also allows moving the file or adding tags without leaving the app

Batch Rename Multiple Files (07:17)

  • Select multiple files and choose File > Rename… for batch options
  • Options include Replace Text, Add Text, or Format with name, date, or index
  • Undo (Command Z) works for batch renames as long as you do it immediately

Summary

You can quickly rename files in the Finder using menus, clicks, or Return. Show extensions, use Esc to cancel, and undo to revert mistakes. Rename files while open or from inside apps, and use batch rename for multiple files. AI suggestions can help, and all methods work across Finder views.

Video Transcript

Hi, this is Gary with MacMost.com. Let me show you how to rename files on your Mac. 
Now as you use your Mac and create documents and files you may, from time to time, want to rename them. You can do that in the Finder where you manage and organize your files by simply using the Rename function. 
So, for instance, here in the Finder I'm looking in a folder called My Images and I have many image files here. Let's say I want to rename one of these files. The first step is to simply select the file. You can see it is selected there. Now to rename it you can go to File, and then there's an option here for Rename. You select that. Notice now that you can edit the text. At first only the text to the left of the File extension will be selected. You can simply type something else to rename it. But, you can use your Pointer and move around and click at different parts of the name here and select different parts and work with it just like you would with text inside of an app. So you can select any part of the name, even the extension here. A shortcut is to use Command A to select all. Now you can rename the file including the extension at the end. 
When you're done with changing the name you can press the Return Key. Now you can see that the name has been changed. The file is still selected and if you're sorting, say by name here, it will move to its new position according to the new name. A few tips here. If instead you change your mind and decide you don't want to rename the file you can always use the Escape Key on your keyboard to cancel. 
Notice that I can see all the file extensions for my files here in the Finder. If you don't see those and you would like to you can change that setting by going to Finder, Settings and under Advanced look for Show All File Name Extensions. Switch that On and you'll by default see the extensions as well as the rest of the file name.
Now, using the File and Rename isn't the only way to rename a file. You can do it two other ways in the Finder. One is to select the file like I have here. After it is selected click again on the name. Now you can see it is selected and you can type again. If you click too fast, a quick double click like that, it will simply open the file in its default app. So you want to make sure you click once to select the file, wait a second or two, and then click again to select the file name to rename it. 
Now it seems like there should be a keyboard shortcut for this. But notice if I select the file and go to File, Rename no keyboard shortcut is shown over to the right. It seems like there really should be one just like there is for all of these other features that you probably wouldn't use as often as you rename a file. Well, there actually is one! But for some reason Apple's never put it here in the menu. The keyboard shortcut is to simply use the Return Key on your keyboard. So select the file and then press Return and that is the keyboard shortcut for starting to rename a file. Now you can type what you want, press Return, and it gets the new name. 
Another tip here is that you can use Undo, Edit, Undo to undo renaming a file. So if you rename it and you decide you want it back to the original name right afterwards, you can use Command Z or Edit Undo and it will undo the file rename. 
If you find these videos valuable consider joining the more than 3000 others that support MacMost through Patreon. You get exclusive content, course discounts, and more. You can read about it at macmost.com/patreon. 
Now all of these methods work here in all of the views of the Finder. So I've been showing List View. But, for instance, let's switch to Icon View. You can select a file and then use File, Rename or click on the name a second time, or select and then press Return to rename a file here in Icon View, List View, Column View, and Gallery View. Also notice a new feature here in macOS Golden Gate. If you select a file and then use any of the options to start renaming it, like I'll press Return here, and then you wait you'll see suggested File Names. It is using AI to actually look at the contents of the file and suggest a name for you. You'll see the same feature inside of apps when you first create a new document. You can simply click on one of these to use that new file name. If you'd rather turn Off that feature you can. In Finder, Settings under General there's a setting here at the bottom Suggest File Names. You can just switch it Off. 
Now most of the time that you want to rename a file you want to do it in the Finder when you're working with your files organizing them, managing them, and so on. However, you can actually rename a file while you're working on it. In the distant past on computers you wouldn't have wanted to do this. If the file is opened by an app you wouldn't want to actually rename it while an app is using it. You would instead close the file, rename it, and open it up with its new file name. But that's no longer the case. You can safely rename a file while you're actually working on it. So, here's a Pages file. I'm going to double click on it here to open it up in Pages. Then notice here at the top of the window you can see the file name right there. I can go to this Finder window right here and rename this file to something else. As soon as I do notice that the document opened in Pages changes to show the new file name. Pages itself doesn't skip a beat at all. It's perfectly fine with you renaming the file in the Finder. As a matter of fact you can even move the file to another folder using the Finder while working on it in Pages and it would be fine. 
This is true for all of Apple's apps and any third party apps that handle files as documents. But it may not necessarily be true for very complex apps like video editing apps and such. So you want to be careful.
Now there's another way to rename a file while you're working on it. That's not to use the Finder at all. You don't need to have a Finder window open with the file visible to rename it. You can do it right inside the app. So here in Pages I can go to the File Menu and there is a Rename option there under File. I can change it to something else here and notice it will change up there and also in the Finder, like that. You can actually do the same thing by looking for the little down arrow button to the right of the name here in the Title Bar and then if you click on it you'll see Name Tags and even where it's located. You can rename it right here, like that, and notice how the change is reflected there in the Finder as well. As you saw you can even use this to move the file to a new location. You'll also see here you'll get suggested file names in the app as well as in the Finder. 
Now one last thing I want to show you is how to rename multiple files at the same time. This is called a Batch Rename. Now obviously if you're selecting multiple files, like I'll click here to select the first one and then Shift Click to select all of them or you can simply do Command A to select all of them or you could have clicked on one and use Command Click to select the files individually. Anyway you want to do it you've got multiple files selected. You can go to File, Rename and notice three dots get added to the end of the word Rename there, meaning there is more work to do if you select this command. When you select it, sure enough, you get this special menu called Rename Finder Items. It allows you to rename all of these files at the same time. You can do various things with this. For instance, you can use this to simply replace text in the file names. Notice that there were different extensions being used for these files. For instance sometimes it was capital JPG, instead of dot jpeg there. I could say Find That and then Replace With this and then hit Rename. It's going to change it only when it is applicable in those files. 
You could also add text to the existing name. So you can add a word, like photo maybe with a space before the name or after the name. So if I rename them all you see I get the word photo before each of the existing file names. You can also choose Format which gives you even more options. For instance here I could add name and date using Custom Format, the word Photo, and then the date after it. I could change that to name an Index starting with number 100 say, and you can see how it does that. Or maybe I could put Before Name and put the number first. I could put a space before photo instead of after it. You have Name and Counter To which pads with zeros. So you have all sorts of options for renaming a whole group of files at once. 
One final tip here is that you can still Undo even after a Batch Rename, like this. So I'm going to rename all of these images like that. Now I can simply use Edit, Undo or Command Z and if I do that right away, right after the rename, you can see I get all the file names back. So that can help prevent mistakes. 
Hope you found this useful. Thanks for watching. 

Comments: 2 Comments

    Melody Whitaker
    1 week ago

    Even when I think I know the basics... I don't 😀 I love all your little Apple tricks! Thank you Gary!

    Sheldon
    6 days ago

    Thank you

Leave a New Comment Related to "Mac Basics: How To Rename Files"

:
:
:
0/500 (500 character limit -- please state your comment succinctly and do not try to get around this limit by posting two comments)