← Utilizador do software 列出大于指定文件大小的文件 Pontuação 81 Advertisement 如何使ls(或任何其他命令)只列出大于特定文件大小的文件? linux bash terminal Fonte Johnny http://superuser.stackexchange.com/users/63103 Advertisement Advertisement
✓ Solução encontrada! Pontuação 138 2011-01-15 15:11:52 +0000 使用 find 和它的-size标志。要查找大于100MB的文件:find . -type f -size +100M 如果你只想查找当前的目录:find . -maxdepth 1 -type f -size +100M ```。 Fonte Nifle http://superuser.stackexchange.com/users/63103
Pontuação 25 2014-05-21 17:30:55 +0000 如果你想查看所有超过100M的文件,并查看它们的位置和大小,可以试试这个。find . -type f -size +100M -exec ls -lh {} \; Fonte Ofir Zvik http://superuser.stackexchange.com/users/63103
Advertisement Pontuação 2 2017-02-27 07:23:42 +0000 Advertisement 使用以下方式。find / -size gt 2MB 或者: find / -size => 2000000 Fonte Farhan Ahmed http://superuser.stackexchange.com/users/63103