Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 romping around the Monastery: (9)
As of 2016-08-24 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (341 votes). Check out past polls.