Sper sa fie cu folos …

Find all large files on a Linux

April 18th, 2008 Posted in Linux

Taken from: http://snippets.dzone.com/posts/show/1491

Finds all files over 20,000KB (roughly 20MB) in size and presents their names and size in a human readable format:

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

Post a Comment