Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

List files older than 3 days.

user8850066Apr 5 2011 — edited Apr 5 2011
I am trying to list all the logs file older than 3 days. the below command is not working for me. Could you please check whats wrong in it.


find /export/home/adtde/logs -name "*.log" -mtime +3 -exec ls -lrt {} \;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2011
Added on Apr 5 2011
4 comments
110 views