Hi,
would like to delete application logfiles from various direcotries which are two,seven,15 days old. I don't want to use #find with -mtime , its bit messy sometimes.
curently am manually using this method.
# touch -t mmddhhmm <testfile>
#find /test ! -newer <testfile> -exec rm {} \;
Every time am changing date for running this task. Any way of automising of these tasks.
any suggesstions??? any scripts ready with you.
thanks in advance.
aixnag
IBM Certified Specialist - P-series AIX 5L Administration
IBM Certified Specialist - AIX V4 HACMP