Sub topic 6
Naming and renaming items
This chapter assumes you can open a Finder window, select items, and know what a folder is. You should also have created a folder, as covered in the previous chapter. Here you will learn how to rename items, which characters to avoid, and how to choose names that sort well.
Renaming in the Finder
There are three common ways to rename an item:
- Select the item and press Return. The name becomes editable.
- Click the name of an already selected item and pause.
- Control-click the item and choose Rename.
Type the new name and press Return to confirm, or press Escape to cancel. When you rename a file, the Finder selects only the part before the extension, so report.pdf becomes editable as report. If you type over it, the .pdf stays in place.
Extensions
An extension is the short suffix after the last dot, such as .pdf or .docx. It tells macOS which app should open the file. If you change it, the file may open in the wrong app or not open at all.
If you change an extension, the Finder asks you to confirm. Choose "Keep .pdf" if the change was a mistake. To show or hide extensions, open Finder > Settings > Advanced and turn on "Show all filename extensions".
Characters to avoid
Finder names can hold up to 255 characters, but some characters cause trouble.
| Character | Problem | Column |
|---|---|---|
| `:` | Not allowed in the Finder, because the colon is the classic Mac path separator. | |
| `/` | Not allowed in file names, because it separates folders in a path. | |
| Leading `.` | Hides the item from the Finder and from most apps. | |
| `\ ? * " < > \ | ` | Allowed on a Mac, but they cause errors on Windows, in cloud services, and on USB drives. |
If you share files with other systems, use letters, numbers, hyphens and underscores.
Names that sort well
The Finder sorts by name in alphabetical and numeric order, so the way you write a name decides where it lands. Three habits help:
- Put dates in the order year, month, day.
2026-03-14sorts in the right order.14-03-2026does not. - Add leading zeros to numbers.
Chapter 02comes beforeChapter 10. Without the zero,Chapter 10can appear beforeChapter 2in some views and tools. - Start with the most important word.
Invoice-2026-03-Acme.pdfgroups all invoices together.
Consistency over cleverness
Choose one pattern and keep to it. For example, YYYY-MM-DD-Client-Topic. A fixed pattern makes names predictable, and it makes search and batch renaming (covered later) work better.
Exercise
You have files named Report 9.docx, Report 10.docx and Report 2.docx. How would you rename them so they sort in numeric order, and which part of the name needs the change?
Show answer
Add a leading zero to the single-digit numbers: Report 02.docx and Report 09.docx, with Report 10.docx unchanged. The numeric part needs the change, and the extension .docx stays as it is.