how to list files changed within a certain time period
I know I can use the ls command to list files and to list files by modification date, but how can I list file only changed within the last two minutes, or during a certain time yesterday?
Files that were modified in the last two minutes in current directory and below:
find -mmin -2
Not sure of the best answer to the second question. Maybe something like this:
find . -mtime -2 -mmin +120
That's find files modified in the last two days and not modified in the last two hours.