Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?
[cbeckley]: I have a functioning module I use to spawn sets of commands across multiple servers.
[cbeckley]: It's nascent, and probably looks like baby Perl to the veterans.
[cbeckley]: I have several questions about it's future development. But it seems like a lot of code to put in a sopw.
[cbeckley]: Should I put the module and example calling code in cufp, and then ask questions in sopw?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2017-03-24 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (304 votes). Check out past polls.