linux how to check size of every image in a folder code example Example: command to check size of folder in linux du -lh --max-depth=1 --block-size=M | sort -nr