How can I find all zero-byte files in a directory and its subdirectories?
I have done this:
#!/bin/bash lns=`vdir -R *.* $dir| awk \'{print $8\"\\t\"$5}\
As addition to the answers above:
If you would like to delete those files
find $dir -size 0 -type f -delete