1. 查找大文件

例如 查找当前目录小大于1000M的文件

find . -size +1000M

linux 使用find 命令查找文件,并删除

 2. 查找并删除

find . -size +1000M -exec rm {} \;

注意分号不能省略

相关文章: