[LAU] list all flac files by bit depth?

Julien Claassen julien at c-lab.de
Sat Apr 9 16:26:31 UTC 2011


Hello Aaron!
   If you do something like:
file test.flac
   it tells you something like this:
test.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 5090250
samples
   So you might search for two-digit-int SPACE bit and use that number to only 
display these files. If your flacs don't have spaces in their names, you may 
easily use awk with print $9
   If you have spaces, you might use awk's split function and use ':' as your 
seperator and then print my_array[2] and pipe that into another awk and then 
use print $8 .
   I hope, that is some help to you.
   As for id3 tags, just RTFM id3v2 and experiement. :-)
   Warmly yours
           Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de


More information about the Linux-audio-user mailing list