By Keith Mitnick on Friday, 13 January 2017
Category: General

Find files larger than 1GB using command line

This command will find all files on your hard drive that are larger than 1GB and print them to the screen with the file path.

sudo find / -type f -size +1000000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Leave Comments