Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Find all JPEG files in a directory

by Bob9000 (Scribe)
on Aug 11, 2005 at 20:45 UTC ( #483128=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483128]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-09-27 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (504 votes). Check out past polls.