0

I find all the PDF files using

find . -type f -name *.pdf

How can I sort the files in the results by the last access time, and then by the last modification time?

By access time, I mean the time when the file is "opened", which, for PDF, typically means the file being opened in Adobe Acrobat.

qazwsx
  • 8,599
  • 24
  • 58
  • 86
  • Side note: [do not use `-name *.pdf`](https://superuser.com/q/1217773/432690). – Kamil Maciorowski Jul 19 '21 at 18:15
  • 1
    Does this answer your question? [Unix/Linux find and sort by date modified](https://superuser.com/questions/294161/unix-linux-find-and-sort-by-date-modified) – harrymc Jul 19 '21 at 19:32

0 Answers0