查找大于1MB的文件夹和文件(递归查找子目录)

# 文件夹
du -h . --maxdepth 0 | grep '[0-9]M\>'
# 文件
find . -name '*' -size +1M

 

One thought on “查找大于1MB的文件夹和文件(递归查找子目录)

Leave a Reply

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