How can I find the most recently modified *.ipynb files in the subtree starting from the current directory? Ideally I would like a sorted list with the most recently modified ones shown first.
I am using Ubuntu 22.04 and am happy to use GNU tools.
How can I find the most recently modified *.ipynb files in the subtree starting from the current directory? Ideally I would like a sorted list with the most recently modified ones shown first.
I am using Ubuntu 22.04 and am happy to use GNU tools.
2
Answers
Like this with bash:
You can use find with -newermt option as below.
The below command finds the files modified in the last 24 hours.
Similarly,