in reply to Re: Find all JPEG files in a directory
in thread Find all JPEG files in a directory
I don't know about your find command but mine doesn't do that - I think you'll need to use grep:
alternatively if just one directory level is required then you could ls - with bash you can do:find ../images | egrep '\.jpe?g$'
shopt -s extglob; ls ../images/*.jp?(e)g; shopt -u extglob
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Find all JPEG files in a directory
by Transient (Hermit) on Aug 11, 2005 at 20:47 UTC | |
by gellyfish (Monsignor) on Aug 11, 2005 at 21:04 UTC | |
by Transient (Hermit) on Aug 11, 2005 at 21:17 UTC |