# Ubuntu – How to recursively delete files filled with zeros

delete

I have many files in a folder tree, of which some are filled with zeros and others are real files.

How can I delete files filled with zeros recursively?

find -type f -printf "%S\t%p\n" 2>/dev/null | awk '{if ($1 < 1.0) print$1 \$2}'