How would one go about listing all flac files that have a bit depth of greater than 16?

Since this info is stored in an id3 tag I can't seem to figure out how to go about this.

Thanks for any input.

-Aaron