In Gnome's File manager (Nautilus), there's a feature called "Recent Files" which presents itself like a "virtual directory" of sorts, listing the most recently created/modified files in the user's home directory.
I am looking for something equivalent on the CLI. i.e. a virtual folder which can be navigated to, but which presents dynamic results based on the output of say, the find command.
My need arises from the fact that I use emacs for email and one needs to specify a path to each file attachment, hence sending file attachments from different folders is a pain. Life would be nicer if there was a single virtual directory which I knew would have all the recently created/modified files.
If there isn't a ready tool for this, I'd write a script to run the
find command searching for the most recent files in the
$HOME directory, and create a virtual folder containing symlinks to the files output by find; and run that as a cron or use inotify.
However, it would be lovely if there is already a tool to do this job.