Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Deleting files from O/S older than 6 hours
Hi,
I am using following command to delete files from o/s older than 24 hours.
/usr/bin/find /u01/log/*.log -mtime +0 -exec ls -l {} \;
Is there any way I can delete files older than 6 hours. I am using HP-UNIX. I tried using
/usr/bin/find /u01/log/*.log -mtime +0.4 -exec ls -l {} \;
Above command does not work.
Please help.
regards,
Ajay
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Nov 27 2007 - 10:16:03 CST
![]() |
![]() |