LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Deleting Files Older Than 2 Hours using Find? (https://www.linuxquestions.org/questions/linux-software-2/deleting-files-older-than-2-hours-using-find-338314/)

LinuxGeek 06-29-2005 05:52 AM

Deleting Files Older Than 2 Hours using Find?
 
Hi,
I was wondering if there was any way to use the find command to find all files created in a certain directory that are older than 2 hours? I looking the man page and the -atime -ctime and -mtime parameters all take days as parameters, not hours. So is there any way to do this? Or perhaps there is a workaround? Thanks for your time.

LinuxGeek 06-29-2005 06:10 AM

Sorry. I found it. It's the -amin, -cmin, and -mmin parameters...


All times are GMT -5. The time now is 08:27 PM.