[CentOS] Help with find

Pintér Tibor tibyke at tibyke.hu
Wed Jan 21 17:22:20 UTC 2009


Matt wrote:
> This finds all files modified 5 minutes ago.
> 
> find /home/*/ -cmin 5 -type f -mindepth 1 -maxdepth 1
> 
> I want to find all files modified 5 or less minutes ago.  How do I do
> that?  "find -mtime -1" only works in 24 hour increments.

-cmin -5

t


More information about the CentOS mailing list