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

Discussion in 'Mac Blog Discussion' started by MacRumors, Dec 19, 2018.

  1. MacRumors macrumors bot

    MacRumors

    Joined:
    Apr 12, 2001
    #1
    [​IMG]


    [​IMG]
    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.
      [​IMG]

      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.
      [​IMG]

      Select Last opened date in the first search criteria dropdown.
    2. Select within last in the second dropdown.
    3. 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.
    4. 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.
      [​IMG]

      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.)
      [​IMG]

      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.
      [​IMG]

      In the second row dropdown, select None of the following are true.
    5. In the third row, first dropdown, select Kind.
    6. In the third row, second dropdown, select the type of item you wish to exclude.
      [​IMG]

      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.
      [​IMG]

      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.
      [​IMG]

      Click Save.
      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.)
      [​IMG]

      Finally, right-click (or Ctrl-click) the docked smart folder and select Folder in the contextual menu.
      [​IMG]
    The last step gives your recently opened items folder a distinctive icon in the Dock.

    [​IMG]

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

    Article Link: How to Add a Recent Items Folder to Your Mac's Dock
     
  2. roncron macrumors 6502

    roncron

    Joined:
    Aug 15, 2011
  3. Scooz macrumors regular

    Joined:
    Apr 9, 2012
  4. JosephAW macrumors 68000

    JosephAW

    Joined:
    May 14, 2012
    #4
    Did Apple drop the Finder setting for recent documents in Mojave? Tinker tool used to be able to toggle this without a smart folder.
     
  5. madmin macrumors regular

    Joined:
    Jun 14, 2012
    #5
    Very handy tip, I can think of several people I know who will also appreciate this when I share it with them.
    Many thanks !
     
  6. stevealdrich macrumors newbie

    stevealdrich

    Joined:
    Dec 19, 2018
    #6
    What they said. My whole office likes this tip!
     
  7. ignatius345, Dec 19, 2018
    Last edited: Dec 19, 2018

    ignatius345 macrumors 68000

    Joined:
    Aug 20, 2015
    #7
    Great tip! I'm loving this series.

    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....

    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.

    MacBook Pro 2018-12-19 at 10.21.57 AM.png
     
  8. timmyh, Dec 19, 2018
    Last edited: Dec 19, 2018

    timmyh Contributing Editor

    timmyh

    Joined:
    Mar 18, 2016
    Location:
    Liverpool, UK
    #8
    Thanks, ignatius, for pointing this out. I'll replace the image and add another step.
     
  9. stevealdrich macrumors newbie

    stevealdrich

    Joined:
    Dec 19, 2018
    #9
    Or, as he said “(If you like, you can delete the same folder on your Desktop once it's safely docked.)”
     
  10. ignatius345 macrumors 68000

    Joined:
    Aug 20, 2015
    #10
    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.
     
  11. MacGizmo macrumors 65816

    MacGizmo

    Joined:
    Apr 27, 2003
    Location:
    Arizona
    #11
    No. But Apple's Recent Items doesn't show folders and servers, only applications and files under two different folders in the Dock instead of one.
     
  12. jasnw macrumors 6502a

    jasnw

    Joined:
    Nov 15, 2013
    Location:
    Seattle Area (NOT! Microsoft)
    #12
    Is there some way to use a NOT in the search filters? For example, if I want to exclude files that have a particular file extension, something like "NOT .o" if I want to exclude all files with extension .o .
     
  13. Malkie0831 macrumors newbie

    Malkie0831

    Joined:
    Sep 13, 2017
    Location:
    UK
    #13
    Great, really like this tip. Showed me a whole new way of searching my Mac as well.
     
  14. RBmacin' macrumors newbie

    Joined:
    Jun 11, 2017
    Location:
    USA
    #14
    Awesome tip!! I have a question though... I implemented this and liked the function but it seemed like it would stop working and showing recent files. I think I've figured out it is because I use iCloud Drive and have my Desktop and Documents folders synced with iCloud. When setting up this smart folder it gives me the option to search "This Mac" or "iCloud". Most of my files are within my Documents folder that is iCloud synced but some or not. I have local files also and I use Dropbox and OneDrive for work I do with other businesses that use those services. Dropbox and OneDrive are in my user home folder so for the sake of this smart folder they are "local". Any ideas how I can manipulate the search criteria to include "This Mac" and "iCloud"?
     

Share This Page