Sub topic 5
Creating folders
This chapter covers the ways to create folders in the Finder, what happens with different selections, and where folder creation can fail. It assumes you can open a Finder window, know what a folder is, and have seen the Home folder and the sidebar from earlier chapters. The chapter runs to about 1000 words.
What a new folder is
A folder is a container that holds files and other folders. Creating one adds a new entry inside whichever location you are currently viewing. That location matters more than the method. The same command, run in two different windows, creates two different folders.
Before you create anything, check the window title or the path bar (View > Show Path Bar). Most misplaced folders come from creating them in the wrong place, often on the Desktop or in Downloads.
Methods in the Finder
You have four common ways to make a folder. All of them create a folder named "untitled folder" with the name field already selected for editing.
- Keyboard shortcut. Press Shift-Command-N. This is the fastest method.
- Menu bar. Choose File > New Folder.
- Context menu. Control-click (or right-click) an empty area of the window and choose New Folder.
- Toolbar button. In some windows, the Action button (the circle with three dots) also offers New Folder.
Type the name immediately and press Return. If you click elsewhere first, the name field closes and the folder keeps the default name "untitled folder". You can rename it later by pressing Return with the folder selected.
Creating a folder around a selection
If you select one or more items first, you get an extra option. Control-click the selection and choose New Folder with Selection. The shortcut is Control-Command-N. The Finder creates a folder in the same location, names it "New Folder with Items", and moves the selected items into it.
This is a quick way to tidy a cluttered folder. Select a group of related files, press Control-Command-N, then type a name for the new folder.
Two details are worth knowing:
- The items move, not copy. If you change your mind, press Command-Z immediately to undo the move.
- The selected items must be in the same folder. Items shown from a search or a smart folder may live in different places, and the option behaves differently there.
Creating folders in the Save dialog
When you save a document from an app, the Save dialog has a New Folder button, also reachable with Shift-Command-N. In the expanded dialog, you can browse to the right parent folder and create the folder before you save. This avoids saving a file and moving it afterward.
Creating folders from Terminal
Terminal gives you a way to create a whole structure in one step. This command works in zsh, the default shell on current versions of macOS:
mkdir -p ~/Documents/Projects/2026/{Active,Archive}Each part does a specific job:
mkdirmakes a directory, which is the Terminal name for a folder.-pcreates any missing parent folders and does not report an error if a folder already exists.~stands for your Home folder.{Active,Archive}is brace expansion. The shell turns it into two paths, so the command makes bothActiveandArchiveinside2026.
The result is the same as creating each folder by hand with Shift-Command-N, but it is repeatable and takes one line. Without -p, mkdir stops with "No such file or directory" if Projects does not already exist.
How the pieces nest
The command above produces this hierarchy:
Each arrow means "contains". A path such as ~/Documents/Projects/2026/Active lists the folders from the outside in.
Where you can and cannot create folders
Folder creation depends on permissions, which control who may change a location. In your own Home folder you can create folders freely. Some places refuse.
| Location | Can you create a folder? | Notes |
|---|---|---|
| Your Home folder and its subfolders | Yes | Your normal working area |
| iCloud Drive | Yes | The folder syncs to your other devices |
| Shared folders on a network | Depends | The server owner sets the permissions |
| A read-only disk or disk image | No | New Folder is greyed out |
| System folders such as /System | No | Protected by macOS |
| Applications | Needs an administrator password | Avoid adding folders here |
If New Folder is greyed out, you are probably in a read-only location, a search results window, or a view that has no real folder behind it. Search results are a list of matches and not a place. Navigate to an actual folder and try again.
Common errors
- A folder appears in the wrong place. You created it with a different window active. Drag it to the right location, or press Command-Z.
- "The name is already taken." Folder names must be unique within one parent folder. The Finder adds "untitled folder 2" when you create a second folder before renaming the first. Rename each one straight away.
- The name starts with a dot. A name such as
.archivemakes the folder hidden. It still exists, but the Finder does not list it unless you show hidden files with Shift-Command-Period. - A slash in the name. In the Finder, a colon is shown as a slash for historical reasons. Typing
/in a name is converted to a colon in Terminal paths, which can confuse scripts. Avoid both characters. - Very long names. A name is limited to 255 characters. Long names are also cut off in narrow columns, so keep them short.
A habit that scales
Create the top level of a structure first, then work inward. Use names that sort in the order you want, for example 01-Active and 02-Archive. Create the parent, enter it, and use Shift-Command-N again. When you need several folders with the same shape, such as one per year, use mkdir -p rather than repeating clicks.
Exercise
You select six invoice PDFs in your Downloads folder and want them in a new folder called "Invoices 2026" without dragging anything. Which shortcut do you use, and what happens to the files? Then, in Terminal, what does the -p option do in mkdir -p ~/Documents/Projects/2026/{Active,Archive}?
Show answer
Press Control-Command-N (New Folder with Selection), then type the name "Invoices 2026" and press Return. The six files move into the new folder, so they are no longer loose in Downloads. Command-Z undoes the move. The -p option creates any missing parent folders (Projects and 2026 in this case) and does not fail if a folder already exists, so the whole structure is built in one command.