Wednesday, November 24, 2021

finding files modified in the last 10 days using Linux find -mtime

I needed to find all files modified in the last 10 days in a directory using the Linux bash shell. One of the ways listed was using find -mtime,

find /var/the/relevant/dir -mtime -10

No comments:

Post a Comment