patkua@work

Find biggest files in a directory

Nice little script worth keeping a hold onto:

find . -type f -print0 | xargs -0 du -s | sort -n | tail -150 | cut -f2 | xargs -I{} du -sh {}

Exit mobile version