linux shell find

 find /  -ctime +365 ! -name "*.bat" -exce rm -rf {} ;
原文地址:https://www.cnblogs.com/guxiaobei/p/9262942.html