find /u01/local/logs -mtime +30 -exec ls -l {} \;
find /u01/local/logs -mtime +30 -exec rm {} \;
The following two tabs change content below.
find /u01/local/logs -mtime +30 -exec ls -l {} \;
find /u01/local/logs -mtime +30 -exec rm {} \;