Find Files via timestamp…

Another usual command I found in the last few days is the find command with the mtime feature. As a example to find all files that have been updated in the last 14 days. The syntax is

# ls -al | find . -mtime 14 -print

Mtime is the time period by how long you wish to find you files. Change the value to suit your needs.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.