<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small">shell script, not necessarily error free:<br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">
for i in `ls *.jp2'<br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">do<br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"> file=`basename $i`<br>
</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"> suffix='suffix'<br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"> convert $i <options> $file.$suffix<br>
</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">done<br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">man basename for all the fun options - it can get you the path, a part before the '.', a part after the '.', etc<br>
<br></div></div><div class="gmail_extra"><br clear="all"><div>Pete Hardie<br>--------<br>Better Living Through Bitmaps</div>
<br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 9:43 AM, Wolf Halton <span dir="ltr"><<a href="mailto:wolf.halton@gmail.com" target="_blank">wolf.halton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>inside a folder, I can do something like<br>convert *.jp2 -resize 7% thumb.jpg<br></div>that gives me a list:<br>thumb-0.jpg ... thumb-3.jpg .. thumb-N<br></div>but I have to keep the file names the same as the originals. adding a suffix to the file name is ok e.g. 0000146.jp2 can have a thumbnail called 0000146-1.jpg, but otherwise I cannot easily find the associated file and thumbnail.<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 9:29 AM, Jeff Hubbs <span dir="ltr"><<a href="mailto:jhubbslist@att.net" target="_blank">jhubbslist@att.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Specifically, "convert." Script it and stand back.<div><div><br>
<br>
On 2/20/13 9:24 AM, James Sumners wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="https://en.wikipedia.org/wiki/ImageMagick" target="_blank">https://en.wikipedia.org/wiki/<u></u>ImageMagick</a><br>
<br>
On Wed, Feb 20, 2013 at 9:07 AM, Wolf Halton <<a href="mailto:wolf.halton@gmail.com" target="_blank">wolf.halton@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have been poking around, and gui-graphics apps will do the job, but I need<br>
a monastery full of dedicated monks to work on it for a couple of years. I<br>
had a product on *That other OS*(tm) that could do this, but I am on Debian<br>
Wheezy and don't want to ship the drives all the way across from this<br>
cubicle to the other, or install samba on the Debian machine to mount the<br>
drives on the machine with *That other OS*(tm).<br>
<br>
--<br>
Wolf Halton<br>
This Apt Has Super Cow Powers - <a href="http://sourcefreedom.com" target="_blank">http://sourcefreedom.com</a><br>
Open-Source Software in Libraries - <a href="http://FOSS4Lib.org" target="_blank">http://FOSS4Lib.org</a><br>
Advancing Libraries Together - <a href="http://LYRASIS.org" target="_blank">http://LYRASIS.org</a><br>
Apache Open Office Developer <a href="mailto:wolfhalton@apache.org" target="_blank">wolfhalton@apache.org</a><br>
<br>
______________________________<u></u>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo</a><br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Wolf Halton<br>This Apt Has Super Cow Powers - <a href="http://sourcefreedom.com" target="_blank">http://sourcefreedom.com</a><br>
Open-Source Software in Libraries - <a href="http://FOSS4Lib.org" target="_blank">http://FOSS4Lib.org</a><br>
Advancing Libraries Together - <a href="http://LYRASIS.org" target="_blank">http://LYRASIS.org</a><br>Apache Open Office Developer <a href="mailto:wolfhalton@apache.org" target="_blank">wolfhalton@apache.org</a><br>
</font></span></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br></div>