Re: Grep
On Friday, 26. May 2006 02:04, Richard wrote:
> Is there a way to read mp3 ID3 tags using greg?,
> to find a certain information.
> ie. joint stereo, and being able to select those, and delete them,
> from the folder.
>
> Regards
> Rich
install and try mp3info
It's capable of finding all sorts of information (if it's joint stereo etc)
from MP3s
this will list your joint stereo files:
mp3info -p "%f\t%o\n" *mp3 | grep "\bjoint stereo$" | cut -f1
this removes them (asks confirmation):
rm -i "`mp3info -p "%f\t%o\n" *mp3 | grep "\bjoint stereo$" | cut -f1`"
Forget the -i if you're 101% sure ;)
--
-=[JT]=-
Reply to:
- References:
- Grep
- From: Richard <cms01@tampabay.rr.com>