Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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


Comment on Re^2: Find all JPEG files in a directory
Select or Download Code

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 wandering the Monastery: (5)
As of 2014-07-12 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (239 votes), past polls