How to find zero filled files?
Hi
I've got a bunch of files, and I need to find those files in which every byte contains 00 or $FF.
I've been searching and I've found only solutions to find zero sized files, but that's a different situation. The files I'm trying to find can have any size (i.e.: 279 bytes) but every byte inside the file contains a 0.
Do you know any program that can do that search?
I'd need either:
- A program that check the contents of every file on a given path and give me those files that are filled with zeroes.
- A program that sums the contains of every file on a given path, so I can find those files with a sum of 0 and look if they're filled with zeroes or not (crc32, md5 and sha checksums can not be used).
Thanks.
Last edited by Zup; 02-20-2018 at 01:28 AM.
|