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