in reply to Re: Find all JPEG files in a directory
in thread Find all JPEG files in a directory
*.jpe?g
The shell might have something to say about that...
(Actually, Bourne-style shells will still pass it through in the likely event that nothing matches that glob, but it's not very safe.)
edit: And the only way to get the match you want from find is to use something like:
find dir -name \*.jpg -or -name \*.jpeg
|
|---|