I&#39;m assuming you&#39;ve tried  <br>for img in *.jpg; do<br>
    nice gm convert -resize 160x160 $img thumbs/$img 2&gt;&amp;1 &gt;&gt; resize.log <br>
 done<br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 9:46 PM, Matt Gushee <span dir="ltr">&lt;<a href="mailto:matt@gushee.net">matt@gushee.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi folks--<br>
<br>
Here&#39;s something that&#39;s been bugging me for a long time: sometimes I will use a command-line program and try to redirect the output, e.g. to a log file, and it doesn&#39;t work. For example:<br>
<br>
  for img in *.jpg; do<br>
    nice gm convert -resize 160x160 $img thumbs/$img &gt;&gt; resize.log 2&gt;&amp;1<br>
  done<br>
<br>
Nope. I get nothing in my log file. I&#39;ve tried several variations of this command, including piping the output to tee. It just doesn&#39;t ever work. &#39;gm&#39;, by the way, is GraphicsMagick, a better-performing fork of ImageMagick. The same thing happened with ImageMagick, and IIRC with some other programs I&#39;ve used on occasion.<br>


<br>
So what&#39;s going on here?<br><font color="#888888">
<br>
-- <br>
Matt Gushee<br>
_______________________________________________<br>
clue-tech mailing list<br>
<a href="mailto:clue-tech@cluedenver.org" target="_blank">clue-tech@cluedenver.org</a><br>
<a href="http://www.cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br>
</font></blockquote></div><br>