Find files based on time

Hi,

Whats the command for finding files older then 20mins. This has to be part of the find command as it will be part of a cleanup script.

thanks
Budrito

hai

find . -mmin 20 -print command prints the files which are exactly 20 miniutes older

find . -mmin +20 -print command prints the files which are more than 20 miniutes older

Sorry no idea about cleanup script.... Let me try to get you more informations

find . -mmin +20 -print -exec rm -f {} \;

Sorry guys but this is TRU64 and it doesn't have a -mmin option thats why its a difficult issue.

cheers

You will need to use a reference file. See this thread for examples.