<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: UNIX Scripts Bash Tips: batch resizing images for a web site</title>
	<atom:link href="http://www.thechangelab.com/toshiyas-blog/unix-scripts-bash-tips-batch-resizing-images-for-a-web-site.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thechangelab.com/toshiyas-blog/unix-scripts-bash-tips-batch-resizing-images-for-a-web-site.html</link>
	<description>If it's not in the lab, you don't need it.</description>
	<lastBuildDate>Tue, 23 Nov 2010 21:09:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Lukáš Mojžíš</title>
		<link>http://www.thechangelab.com/toshiyas-blog/unix-scripts-bash-tips-batch-resizing-images-for-a-web-site.html/comment-page-1#comment-9811</link>
		<dc:creator>Lukáš Mojžíš</dc:creator>
		<pubDate>Sun, 27 Jun 2010 21:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.thechangelab.com/toshiyas-blog/unix-scripts-bash-tips-batch-resizing-images-for-a-web-site.html#comment-9811</guid>
		<description>There is not covered case if file name contains spaces, etc.

This is better and working more reliably:

#!/bin/bash
for i in *.jpg
do
convert -resize 300 &quot;$i&quot; &quot;dir/$i&quot;
echo &quot;$i&quot; processed
done</description>
		<content:encoded><![CDATA[<p>There is not covered case if file name contains spaces, etc.</p>
<p>This is better and working more reliably:</p>
<p>#!/bin/bash<br />
for i in *.jpg<br />
do<br />
convert -resize 300 &#8220;$i&#8221; &#8220;dir/$i&#8221;<br />
echo &#8220;$i&#8221; processed<br />
done</p>
]]></content:encoded>
	</item>
</channel>
</rss>

