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 投票)