[LAU] list all flac files by bit depth?

Alexandros Diamantidis adia at hellug.gr
Sat Apr 9 19:36:17 UTC 2011


* Julien Claassen [2011-04-09 18:26]:
> file test.flac
>    it tells you something like this:
> test.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 5090250

A quick-and-dirty approach using Julien's idea:

find . -name \*.flac -exec file {} + | grep -v '16 bit'

That is, run "file" on all .flac files, and filter out those those that
are 16 bit.

Alex



More information about the Linux-audio-user mailing list