Skip to content

Find Large Files on Ubuntu

Here is a useful unix script that can be used to find large files that are taking up disk space

find <search_path>/ -type f -size +<min_file_size>k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

Example: find all files recursive under /home/dave larger than 1GB

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