[KLUG Members] Find command fails when searching only for mp3s

Bruce Smith bruce at armintl.com
Mon Mar 27 08:17:35 EST 2006


> > I noticed that for the amount of music I have, I was hearing the same 
> > few songs far too many times in any given time period.  Checking the 
> > temp file showed that Ogg Vorbis files were found, as were asf and wma, 
> > but no mp3.  I tried some test finds, and discovered that find wasn't 
> > locating any files of type mp3:
> 
> Do you have an MP3 file in the current working directory?
> 
> > [steve at rosie ~]$ find ~/Desktop/aFewFiles/ -name *.mp3
> 
> Try: find ~/Desktop/aFewFiles/ -name "*.mp3"

No, you need SINGLE quotes around the expression (not double).

Either that, or escape the asterisk with a backslash.

 - BS




More information about the Members mailing list