find /zsb/ -mtime +0 -name "*.log" -exec gzip {}\;#!/bin/bashfind /root/ -mtime +30 -name "*.log" -exec cp {} /zsb/ \;find /zsb/ -mtime +-1 -name "*.log" -exec gzip {} \;find /root/ -mtime +30 -name "*.log"