← Utilizador do software Listar ficheiros maiores do que o tamanho especificado Pontuação 81 Advertisement Como posso fazer ls (ou qualquer outro comando) listar apenas ficheiros maiores do que um tamanho de ficheiro específico? 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 Usar find e a sua bandeira -size. Para encontrar ficheiros maiores que 100MB: find . -type f -size +100M Se quiser apenas o dir actual: 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 Se desejar ver todos os ficheiros com mais de 100M e ver onde estão e qual é o seu tamanho, experimente isto: 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 Use o seguinte: find / -size gt 2MB ou: find / -size => 2000000 Fonte Farhan Ahmed http://superuser.stackexchange.com/users/63103