Find empty files in Linux
find command provides two options to detect empty files $ find . -size 0c or $ find . -empty To find and delete all the empty files under the current directory at one go $ find . empty -exec rm -f {} \; To find and delete all empty directories under the current directory $ […]