621   Linux

1,删除指定文件夹

>find . -type d -name .svn -exec rm -r '{ }'\;

2,删除指定日期文件

find . -mtime +30 -type f | xargs rm -rf



Leave a Reply

Your email address will not be published. Required fields are marked *