How can I retrieve the list of recent files in bash?
I'd like to get this set of files so I can use it with rofi
.
I could manually parse the data file that looks something like:
;;; Automatically generated by ‘recentf’ on Sat Apr 20 13:21:26 2019.
(setq recentf-list
'(
"/home/chris/dotfiles/Human-Friendly-Commands/modules/misc.sh"
"/home/chris/dotfiles/Human-Friendly-Commands/commands.sh"
"/etc/nixos/chris.nix"
"/home/chris/fromLaptopt/usbflash/Haskell/HeliumGrape/src/DiscreteOscillators.hs"
"/home/chris/fromLaptopt/usbflash/Haskell/HeliumGrape/src/MyDebug.hs"
"/home/chris/Haskell/HeliumGrape/src/Main.hs"
...
But if there is a more idiomatic way that would be ideal.