list all files by size code example Example: list all files by size find . -type f -exec du -h {} + | sort -r -h