Difference between revisions of "Notes"
From Seychelles
Beachmaster (talk | contribs) (Created page with ' <pre> for i in *.tif do convert -quality 80 -geometry 400x300 $i /tmp/beach_processed/`basename $i .tif`.jpg; done</pre>') |
Beachmaster (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | |||
<pre> | <pre> | ||
+ | for i in *.jpg | ||
+ | do convert -quality 80 -geometry 400x300! $i /tmp/beach_processed/`basename $i .jpg`.jpg; | ||
+ | done | ||
+ | |||
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</pre> |
Revision as of 18:11, 13 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