Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go


Find Files Modified During Specific Period

20200917 Suppose you know that you have created a png file probably containing the string pakdd in the filename, some time during August and September 2020, but can't remember where you put it.

The following find command will do a case insensitive search (-iname) for files with a newer modification time (-newermt) than the first of August and not newer (!) than the first of October, 2020. For each file that matches display the output of the ls command using a long ISO data format as specified with --time-style=long-iso.

$ find . -iname '*pakdd*.png' -newermt 2020-08-01 ! -newermt 2020-10-01 \
  -exec ls -l --time-style=long-iso {} \;

Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.