Try this:
find /.../exp -name \*.log -mtime +60 -exec rm -f {} \;
This short script will delete the files older than 60 days.
Hope it helps
dragon
|
Results 1 to 10 of 14
Threaded View
|
Click Here to Expand Forum to Full Width |