`find /var/lib/glance/images/ -type f ! -size 0` would not give false positives for directories or empty files.