How do I find out all large files in a directory?
There is no single command that can be used to list all large files. But, with the help of find command and shell pipes, you can easily list all large files.
Linux List All Large Files with condition of file size
To finds all files over 10,000 KB (10 MB+) in size and display their names, along with size, use following syntax:
Syntax for RedHat / CentOS / Fedora Linux
find {/path/to/directory/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Search or find big files Linux (50MB) in current directory, enter:
find . -type f -size +10000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Search in my /home directory:
find /home -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Syntax for Debian / Ubuntu Linux
find {/path/to/directory} -type f -size +{file-size-in-kb}k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
Search in current directory:
find . -type f -size +100000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
Views (39)
The following two tabs change content below.

Chris Mok
Senior Developer at GNA eMarketing
Core Contributor on the WordPress.org

Latest posts by Chris Mok (see all)
- WHM – Change account setup date manually - August 25, 2016
- Manually generate the notifications to who over disk quota - August 23, 2016
- Help Desk Management: What is Level 1, Level 2, and Level 3 Help Desk support? - July 27, 2016
- Find and delete files greater than a given size from the Linux command line - April 18, 2016
- How to change WordPress default email’s From name and address - April 15, 2016