Sub topic 1
Why tags, smart folders, and the sidebar work together
Prerequisites
This chapter assumes you can do the following:
- Navigate Finder on macOS: open windows, switch views, and move between folders.
- Tell files, folders, and file types apart.
- Use menus and keyboard shortcuts.
You don't need Terminal experience yet. A few read-only commands appear later in the tutorial.
The problem with folders alone
A file can live in only one folder. A contract for the Acme project might belong under Clients, Finance, and 2026 at once, but you must choose one location. Copying it into each folder creates duplicates that drift apart.
Finder offers three features that solve this without moving or copying anything:
- Tags are labels you attach to a file or folder. One item can carry several tags.
- Smart folders are saved searches. They look like folders, but they hold a query and show whatever matches it right now.
- The sidebar is the left-hand column of a Finder window. It gives one-click access to locations, tags, and smart folders.
How the three fit together
Each feature does a different job. Tags record your judgment ("this is urgent"). Smart folders collect items automatically by rules ("everything modified this week"). The sidebar keeps both within reach.
| Feature | What it stores | Where the files stay |
|---|---|---|
| Tag | A label on the item | In their original folder |
| Smart folder | A search query and its criteria | In their original folder |
| Sidebar item | A shortcut to a folder, tag, or search | In their original folder |
In every case the original file is untouched. Delete a tag, a smart folder, or a sidebar shortcut, and your files remain where they were.
The shared foundation: Spotlight
Tag searches and smart folders both depend on Spotlight, the macOS indexing service. Spotlight records metadata about each item, such as its name, kind, modification date, and tags. Finder doesn't scan your disk when you open a smart folder. It asks the Spotlight index for items that match.
This has two consequences you will rely on later:
- Results update automatically when a file's metadata changes.
- If the index is missing or stale, searches return incomplete results. The troubleshooting chapter covers this.
You can see the link yourself. This command prints the tags stored on a file as Spotlight metadata:
mdls -name kMDItemUserTags ~/Documents/report.pdfFinder reads the same data when you search by tag.
A typical workflow
The rest of the tutorial builds one system in this order:
- Apply tags to mark status or project, such as Red for urgent.
- Manage tag names and colors so they stay consistent.
- Search by tag, then add criteria such as file kind or date.
- Save the search as a smart folder.
- Place the tags and smart folders you use most in the sidebar.
The division of labor matters. Tag by hand only what rules can't detect, like importance. Let smart folders handle what rules can detect, like recent changes. This keeps manual effort small.
Common misunderstandings
- "A smart folder holds my files." It doesn't. It displays matches from a search.
- "Deleting a smart folder deletes the files." It deletes only the saved search.
- "The sidebar organises my files." It only offers shortcuts.
Exercise
You tag a contract "Acme" and want it to appear in a view that also shows every PDF modified in the last week, without moving the file. Which two features do you combine, and where does the contract stay?
Show answer
Combine a tag search with a smart folder. The smart folder saves a query whose criteria include the Acme tag, the PDF kind, and a modification date within the last week. The contract stays in its original folder, and you can place the smart folder in the sidebar for quick access.