to find files larger than a specific limit use:
find -size +1000M
3 thoughts on “find files larger than”
Leave a Reply
You must be logged in to post a comment.
to find files larger than a specific limit use:
find -size +1000M
You must be logged in to post a comment.
list largest files:
du -a /var | sort -n -r | head -n 10
find largest files using find:
find /path/to/dir/ -printf '%s %p\n'| sort -nr | head -10
find . -printf '%s %p\n'| sort -nr | head -10
exclude specific folders:
du -a --exclude=/mnt --exclude=/var / | sort -n -r | head -n 50