[Gllug] Finding files in directories recursively

Jon Dye jon at pecorous.co.uk
Wed Jun 25 11:27:19 UTC 2008

2008/6/25 - Tethys <tethys at gmail.com>:
> On Wed, Jun 25, 2008 at 11:03 AM, Jon Dye <jon at pecorous.co.uk> wrote:
>> Does anyone have a suggestion as to how I can do what I want?
> find . -type d -print0 | xargs -I {} -0 sh -c "find \"{}\" -maxdepth 1
> -type f -name '*.mp3' -print0 | xargs -0 mp3gain /dev/null"
> It's clumsy, but it works.

Great, that seems to do what I wanted, thanks.

> Obligatory plug: Ogg Vorbis -- you know it makes sense :-)

All my newer rips are in Ogg Vorbis, so I'll be running vorbisgain
too.  It's just the older stuff that I haven't bothered to re-rip from
CD that are mp3s.

Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list