The linux locate command is great at finding files quicky.
My question: how can we use the locate command so that the results are returned in date/time order?
This works as long as there are not spaces in the filenames, but errors if there are too many files (see http://www.gnu.org/software/coreutils/faq/#Argument-list-too-long):
This will work even with spaces or other characters in filenames, but doesn't sort correctly with too many files:
The following will always work (although it might take awhile):