Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: yargs -- xargs but handle spaces in filenames

by pingo (Hermit)
on Jul 16, 2009 at 14:46 UTC ( #780734=note: print w/replies, xml ) Need Help??


in reply to Re^3: yargs -- xargs but handle spaces in filenames
in thread yargs -- xargs but handle spaces in filenames

--exec is still my preference, though (looks a bit nicer, imho, and no risk of the argument list being too long in case you just pipe everything and the kitchen sink to it):

find ./ -type f -iname "*jpg" -size +1M --exec mogrify -resize 800x600 + {} \;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2020-12-01 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?