find /opt -size +5G -name '*audit.log*' -exec cp /dev/null {} \; 清空/opt目录下大于5G的文件 使用cp /dev/null destfile清空文件