| 
 | 
We use a CL program with some unix commands via STRQSH command. Here is a 
sample which will search through all subdirectories under /www/ directory and 
delete any files that are 10 days or older with the file name pattern of *log.* 
("log" somewhere within the first part of the file name) 
                                                         
  STRQSH     CMD('find /www/ -name "*log.*" -mtime +10 -exec rm {} \;')         
                 
  MONMSG     MSGID(CPF0000 QSH0000)  
Hope this helps, works well for us.
Steve                    
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.