New smart folder renamed "All My Files" folder. How to revert? I created a new Smart Folder with the Kind is Document filter. I then sorted by Date Last Opened and saved the search as Recents.

It seems like doing so has overwritten the default "All My Files" folder:



Q: How do I revert this?



It looks like the smart folder distributed with macOS is located at /System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocuments.cannedSearch.

In Finder it's shown as Recents, even though the file on disk is called myDocuments.cannedSearch.

I can't rename this through Finder:



Opening myDocuments.cannedSearch in TextMate allows me to view the .strings files, which contain the CFBundleDisplayName key with "Recents" as the value:



It looks like macOS has also translated this:

[

I don't really know where to look now to make this change in a way that won't break Finder.
You did not tag an OS version, but MacOS Mojave ships by default with a Recents folder in the Finder sidebar and Go menu. There is by default no All My Files folder now. You have not overwritten anything.

(Or else, you overwrote mine too)