Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Find all JPEG files in a directory

by gellyfish (Monsignor)
on Aug 11, 2005 at 21:04 UTC ( #483136=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Find all JPEG files in a directory
in thread Find all JPEG files in a directory

I think you might need to use single quotes around the argument to -name lest it get expanded by the shell before it gets passed to find

/J\


Comment on Re^4: Find all JPEG files in a directory
Select or Download Code
Re^5: Find all JPEG files in a directory
by Transient (Hermit) on Aug 11, 2005 at 21:17 UTC
    well, find . -name "*.jpg" will work just fine, so the double-quotes are ok... it's just the curly braces that are being loopy

    I just checked and AIX doesn't support {}, but Linux is supposed to (at least a cursory glance at a website said it did), although, I'm sure that varies based upon build.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-08-23 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (175 votes), past polls