Finding modified files

Last week I was using the command:
' find /directory -mtime -2 -print' and it showed all the files modified within that period. However, now it only displays the directories and not the files modified. The only thing that changed is that I was granted access to some files.

Thanks

Hi,

You could try the following as a quick fix;

$>cd /directory
$>find ./ -type f -mtime -2 -print

It should also be noted that it is possible to use atime which may give more suitable results depending on the info that you want.

Rgds

Dave

Thanks.

I just need to understand when is a file considered modified.
I'm just looking for files that I changed the name for.