Sub topic 12
Putting it together: a tag and smart folder workflow
This chapter assumes you can apply tags, build a Finder search with criteria, save a smart folder, and edit the sidebar. Here you combine those pieces into one repeatable system. The files stay where they are. Tags record your decisions, smart folders collect the results, and the sidebar gives you one-click access.
The division of labour
Each feature does one job.
| Feature | Job | Who changes it |
|---|---|---|
| Tags | Record a decision you make, such as "this needs review" | You, by hand |
| Smart folders | Collect items automatically by rule | Spotlight, as files change |
| Sidebar | Give fast access to both | You, once |
A smart folder cannot know that an invoice is urgent, but it can find everything with the tag Urgent. A tag cannot gather itself, but a smart folder can do that for it. Use tags for judgment and smart folders for facts such as file kind, date, or location.
Step 1: Design a small tag set
Keep the set short. A tag you never search for is clutter. A good starting set describes status, not topic:
- Action (red): needs something from you.
- Waiting (orange): you are waiting on someone else.
- Reference (blue): keep, but no action needed.
- Done (green): finished, safe to archive.
Create these in Finder Settings under Tags, then drag the two or three you use most into the Favorite Tags section so they appear in the sidebar.
Step 2: Build smart folders that combine tags with facts
Open a Finder window, press Command-F, and choose This Mac or a specific folder as the scope. Then add criteria. Three useful examples:
- To Do This Week: Tag is Action, and Last modified date is within the last 7 days.
- Stale Waiting: Tag is Waiting, and Last modified date is before 30 days ago.
- Unfiled PDFs: Kind is PDF, Tag is none of your status tags, and the search scope is Downloads.
Click Save, name the folder, and keep Add To Sidebar ticked. The criteria come from Spotlight attributes, so you can check one from Terminal before you save it:
mdfind -onlyin ~/Documents 'kMDItemUserTags == "Action" && kMDItemFSContentChangeDate >= $time.today(-7)'If this prints the files you expect, the smart folder will show the same ones.
Step 3: Arrange the sidebar
Drag the saved smart folders into the Favorites section and order them by how often you use them. Put the folder you check daily first. Remove built-in items you never open in Finder Settings under Sidebar, so the list stays short enough to scan.
Step 4: Run the loop
The routine has three moves:
- Capture. When a file arrives, apply one status tag. This takes a second with the Tags field in a Save dialog or the Tags button in a Finder window.
- Review. Open To Do This Week each morning and work through it.
- Retire. When you finish, swap Action for Done. The file leaves the smart folder without being moved.
Common errors
- Too many tags. If you hesitate when choosing, merge tags.
- Smart folders scoped to This Mac. They search everything, so results include files you do not care about. Narrow the scope to a folder.
- Expecting instant results on new volumes. Spotlight must index a location first. An item missing from a smart folder may simply not be indexed yet.
- Tagging a copy. Tags belong to the file. A duplicate may not carry them, depending on how it was copied.
Exercise
You tagged a file Action this morning, but it does not appear in your "To Do This Week" smart folder, which requires Tag is Action and Last modified within 7 days. Name two causes you would check and one Terminal command that helps.
Show answer
First, the smart folder's search scope may exclude the file's location. Second, the file's modification date may be older than seven days, because adding a tag does not necessarily count as a content change. A third possibility is that Spotlight has not indexed it yet. Run mdls -name kMDItemUserTags on the file to confirm the tag is stored, then use mdfind with the same criteria to see whether Spotlight returns it.