How to add "All my Files" back to Finder sidebar? The "All my Files" icon in my Finder sidebar has disappeared, I may have inadvertently deleted it with an unlucky motion on the trackpad.



This helpful answer shows the following technique, but I have no "All my Files" folder to grab



This helpful answer suggests I could do it in Python, but I'm a little nervous about trying it:

#!/usr/bin/python

from FinderSidebarEditor import FinderSidebar                  # Import the module

sidebar = FinderSidebar()                                      # Create a Finder sidebar instance to act on.

sidebar.add("All My Files")     # EDIT: I'm guessing this will work


I found this tutorial but nothing about "All my Files" that I can see.
Aha, found it! 

MacWorld's May 2017 Mac 911 article How to show the All My Files icon in the macOS Sidebar points out that there is a menu in preferences:

 

click All My Files and it's back: