grep mp3 ?

Michael M. nixlists at writemoore.net
Thu Jun 1 11:59:18 UTC 2006


Derek Broughton wrote:
> Richard wrote:
>
>   
>> Is there a method of using grep to read id3 of .mp3's ?
>> to find a certain "string" ie. joint stereo, or 128kbits
>>
>> then be able to remove (delete) found set.
>>     
>
> mp3info ?
>
> It _looks_ like you could do this with it, though my quick test results
> aren't hugely promising.
>   
eyeD3 works with v1 and v2 tags, up to v2.4 tags (which I think is the 
most recent).

$ eyeD3 some_directory/ | grep 128

...finds all 128k-encoded mp3s.

But note that it seems to search only two levels deep, so depending upon 
how your files are organized you may or may not be able to use it to do 
what you want.


-- 
Michael M. ++ Portland, OR ++ USA
"No live organism can continue for long to exist sanely under conditions of absolute reality; even larks and katydids are supposed, by some, to dream." --S. Jackson





More information about the ubuntu-users mailing list