We can use find to search directories for files greater than 20MB, display the path and file size. In this example we're searching the entire file system, but you may choose to use a specific path.

find / -type f -size +20M -exec ls -lh {} \; | awk '{ print $NF ": " $5 }'
Помог ли вам данный ответ? 0 Пользователи нашли это полезным (2 голосов)