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.