How to Add a Recent Items Folder to Your Mac's Dock

In a previous how-to, we explained how to add a special stack to your Mac's Dock that enables quick access to recently opened or favorite items.

This unique stack can be configured to show your most recently opened apps, documents, or servers, but what you can't do is make it show all your recent items, regardless of kind.

One solution is to add a recently opened items folder to your Dock instead. The following steps guide you through the process of creating one using Finder's smart folder feature.

  1. Open a Finder window and select File -> New Smart Folder in the menu bar. Alternatively, right-click (or Ctrl-click) the Finder icon in your Dock and select New Smart Folder.

  2. In the Finder window that opens, make sure the search header is selected as This Mac, then click the plus icon in the upper right of the viewing area.

  3. Select Last opened date in the first search criteria dropdown.

  4. Select within last in the second dropdown.

  5. In the third and final dropdown, select how far back you'd like the folder to show recently opened items for. Your options are days, weeks, months, and years.

  6. In the input field to the left of your timescale selection, specify the number of days/weeks/months/years of recently opened files to show.

  7. To restrict your recent items folder to a certain kind of file – images, for example – click the plus button to add another row, then select a kind from the second dropdown. (Depending on the kind you select, you may be offered an additional dropdown to further limit the criteria.)

  8. Now, hold down the Option key. Note how the plus icon at the end of the row changes to an ellipsis. Click this, and you'll be able to add search parameters that exclude certain items like applications and folders from your recents list.

  9. In the second row dropdown, select None of the following are true.

  10. In the third row, first dropdown, select Kind.

  11. In the third row, second dropdown, select the type of item you wish to exclude.

  12. If you want to add more exclusion criteria, hold the Option key and click the ellipsis icon in the first row. When you're done, click Save in the upper right of the viewing area.

  13. In the save dialog that appears, give your smart folder a name, and select your Desktop as the location for your folder. You can also opt to include the folder in Finder's sidebar by checking the box next to Add to Sidebar.

  14. Click Save.

  15. Switch to your Desktop and drag and drop your new smart folder to the right of the the Dock, which will automatically move any existing icons behind the divider to make space for it. (If you like, you can delete the same folder on your Desktop once it's safely docked.)

  16. Finally, right-click (or Ctrl-click) the docked smart folder and select Folder in the contextual menu.

The last step gives your recently opened items folder a distinctive icon in the Dock.


Note that the same contextual menu also provides view and sort options to further customize the folder's behavior.

Related Roundup: macOS Mojave


Top Rated Comments

(View all)
Avatar
10 months ago
Great tip! I'm loving this series.


[LIST=1]
* In the Finder window that opens, click the plus icon in the upper right of the viewing area.



In this screenshot, wouldn't one want to search "This Mac" instead of just the Desktop? Otherwise it's going to be a pretty narrow set of results....


[LIST=1]
* In the save dialog that appears, give your smart folder a name, and select your Desktop as the location for your folder. You can also opt to include the folder in Finder's sidebar by checking the box next to Add to Sidebar.


You don't have to leave it on your Desktop if you don't want to. I chose to save the Smart Folder to my Documents folder where it's out of the way.

Oh, and if anybody's interested, you can edit the Saved Search by opening it in Finder and selecting "Show Search Criteria" from the little gear menu.

It's also worthwhile while doing the search criteria to add additional filters after you specify the date one. Lots of useful options there like restricting your Kind to Documents to filter out apps. You can stack up these search criteria as you see fit and see the results in real-time as you tweak. Worth futzing with, and you can always create separate smart searches for specific things, like "PDFs from the last 30 days with the name XXXXX" or whatever.



Rating: 3 Votes
Avatar
10 months ago

Or, as he said “(If you like, you can delete the same folder on your Desktop once it's safely docked.)”

You're right, I missed that part. It is handy to keep that .savedsearch file around if you want to edit it, though, and I think you need to keep it somewhere if you want that sidebar shortcut to exist. Interestingly the Dock item is totally independent once you add it, and editing the .savedsearch file has no effect on the dock item.
Rating: 2 Votes
Avatar
10 months ago

In this screenshot, wouldn't one want to search "This Mac" instead of just the Desktop? Otherwise it's going to be a pretty narrow set of results....


Thanks, ignatius, for pointing this out. I'll replace the image and add another step.
Rating: 1 Votes
Avatar
10 months ago
Did Apple drop the Finder setting for recent documents in Mojave? Tinker tool used to be able to toggle this without a smart folder.
Rating: 1 Votes
[ Read All Comments ]