On linux:
use an editor from the command line or gui (I am old skool so its always "vi" ***) to create a file called say "chk" with the following:
find . -print | grep -i "flac$" | sort |
while read nam
do
file "${nam}"
done
then just sh ./chk
Note that you would create/run chk at the top of the directory where your flac files are.
Also note if you cut and paste the above, make sure there are no blank lines.
If your file names have some funky characters (like $, & etc), then the above may abort at some point during execution but the above is all readonly/non-destuctive.
If you have these types of issues then we can use "sed" or "awk" to "escape" these types of characters but lets see how the above works (i.e. rather than boil the ocean anticipating what might never happen, lets see if you get issues and I can help to get a clean run)
Example output might be:
./rips/flac/George Smith/[1969]Blues With a Feeling/06 - Tell Me Mama.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 7269602 samples
./rips/flac/George Smith/[1969]Blues With a Feeling/05 - West Helena Woman.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 9502969 samples
./rips/flac/George Smith/[1969]Blues With a Feeling/11 - Too Late.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 8503163 samples
./rips/flac/George Smith/[1969]Blues With a Feeling/02 - Can't Hold Out Much Longer.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 8119597 samples
./rips/flac/George Smith/[1969]Blues With a Feeling/09 - Key To The Highway.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 6637282 samples
./rips/flac/George Smith/[1969]Blues With a Feeling/04 - Juke.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 8452056 samples
./rips/flac/George Smith/[1969]Blues With a Feeling/07 - Last Night.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 11518964 samples
bob1.flac: FLAC audio bitstream data, 24 bit, stereo, 96 kHz, 15974400 samples
bob.flac: FLAC audio bitstream data, 24 bit, stereo, 96 kHz, 15974400 samples
To help in finding "stuff" of interest you could for example:
sh ./chk | cut -d':' -f2-2 | cut -d',' -f1-4 | sort -u will give you a summary of all your different sample rates and bit depths
sh ./chk | grep -v "16 bit" to find those that are not 16 bit
sh ./chk | grep "16 bit" to find those that are 16 bit
sh ./chk | grep "24 bit" | grep -v "96 kHz" to find those that are 24 bit but not 96 Khz
You could add | wc -l to the end of any of these to get the number of files matching the search such as sh ./chk | grep "16 bit" | wc -l to get number of 16 bit files
The "-v" excludes while no "-v" means include and the bit in quotes is part of whatever the output states. You can stack as many | grep xxxxx as needed
There is also a more powerful version of "grep" called "egrep" but of course linux command line stuff can be very obtuse so I wont cover it off here.
Peter
*** If you have NO editor skills then worst case you could do this (cut and paste each line into your terminal/shell session)
echo 'find . -print | grep -i "flac$" | sort | ' > chk
echo ' while read nam' >> chk
echo ' do' >> chk
echo ' file "${nam}" ' >> chk
echo ' done' >> chk