How to find files modified in specific date and time

Sometimes we need to search for files that created in between certain time interval.

Find command can be used in such situations.

find . -newermt "2010-01-01 00:00:00" ! -newermt "2010-01-02 00:00:00"

Here we need to replace the date and time appropriately as per the requirement.

Leave a Reply