How to find files modified during specific date range in Linux

find /directory/path/ -newermt YYYY-MM-DD ! -newermt YYYY-MM-DD -ls

For example, if you want to find a list of files in the current directory that were last modified on December 4th, 2012:

find . -newermt 2012-12-04 ! -newermt 2012-12-05 -ls

Leave a Reply

Your email address will not be published. Required fields are marked *