Difference between revisions of "Notes"

From Seychelles
Jump to: navigation, search
Line 1: Line 1:
 
  
 
<pre>
 
<pre>
Line 8: Line 7:
 
for i in *.tif
 
for i in *.tif
 
do convert -quality 80 -geometry 400x300! $i /tmp/beach_processed/`basename $i .tif`.jpg;
 
do convert -quality 80 -geometry 400x300! $i /tmp/beach_processed/`basename $i .tif`.jpg;
done</pre>
+
done
 +
 
 +
for i in *.jpg
 +
do convert -quality 75 -geometry 100x78! $i /tmp/beach_processed/`basename $i .jpg`_thumb.jpg;
 +
done
 +
 
 +
</pre>

Revision as of 21:10, 14 May 2011

for i in *.jpg
do convert -quality 80 -geometry 400x300! $i /tmp/beach_processed/`basename $i .jpg`.jpg;
done

for i in *.tif
do convert -quality 80 -geometry 400x300! $i /tmp/beach_processed/`basename $i .tif`.jpg;
done

for i in *.jpg
do convert -quality 75 -geometry 100x78! $i /tmp/beach_processed/`basename $i .jpg`_thumb.jpg;
done