Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: script within find
- X-seq: zsh-users 11449
- From: Chris Johnson <cjohnson@xxxxxxxxxx>
- To: Alexy Khrabrov <deliverable@xxxxxxxxx>
- Subject: Re: script within find
- Date: Wed, 25 Apr 2007 17:58:43 -0400
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20070425215214.GA8900@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <7c737f300702232339keaffa58g99b1f51de74e0c8a@xxxxxxxxxxxxxx> <20070224100809.GA4828@xxxxxxxxxxxxxxx> <7c737f300704251214r602027a4u2d3533370fd317a9@xxxxxxxxxxxxxx> <20070425215214.GA8900@xxxxxxxxxxxxxxxxx>
Chris Johnson sent me the following 1.0K:
> Alexy Khrabrov sent me the following 2.2K:
>
> > The command to do a single conversion is
> >
> > convert -quality 100 dir1/A.tif /jpgs/dir1/A.jpg
>
> I think it'd be simpler to do something like:
>
> $ cp -r dir1 /jpgs
> $ mogrify -format jpg /jpgs/**/*.tif
Sorry. The conversion isn't done in place. You'll end up with *.tifs
and *.jpgs in the same directory under /jpgs. You'll want to issue
$ rm /jpgs/**/*.tif
to get rid of the copies of the originals, or operate in the original
hierarchy and do a selective copy.
--
Chris Johnson
cjohnson@xxxxxxxxxx
http://www.cs.utk.edu/~cjohnson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author