Running a command on all file occurences in a directory tree
William O'Higgins
william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Fri Oct 8 21:53:49 UTC 2004
What I want to do is resize all of the JPGs in a long and ramified
directory tree. I figured something like:
find . -name *.jpg
in the top of the tree would do the trick for hitting all of the jpgs,
but I don't know how to take the output of the above and have it do
this:
convert $FILENAME -resize 425 $FILENAME
Basically, I don't know bash very well and need help with the syntax.
Thanks.
--
yours,
William
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20041008/b28f4baf/attachment.sig>
More information about the Legacy
mailing list