<?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: Mass Rename File Extensions</title>
	<atom:link href="http://MacDeveloperTips.com/tools-utilities/mass-rename-file-extensions.html/feed" rel="self" type="application/rss+xml" />
	<link>http://MacDeveloperTips.com/tools-utilities/mass-rename-file-extensions.html</link>
	<description>Tips, tools and code for iPhone and Mac developers.</description>
	<lastBuildDate>Tue, 01 May 2012 00:21:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Jan</title>
		<link>http://MacDeveloperTips.com/tools-utilities/mass-rename-file-extensions.html/comment-page-1#comment-13179</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Tue, 27 Dec 2011 20:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://macdevelopertips.com/tools-utilities/mass-rename-file-extensions.html#comment-13179</guid>
		<description>For some odd reason I had to change Peter&#039;s second one to:
for i in *.mpeg; do mv &quot;$i&quot; &quot;${i%mpeg}mod&quot;;done

(I&#039;m changing mpeg extensions back to mod so I convert them to dv files for Final Cut Pro X)
Oh, using Mac OSX Lion

By far the best, quickest ánd cheapest solution to change file extensions in batch on a Mac! Thanks!!

-Jan</description>
		<content:encoded><![CDATA[<p>For some odd reason I had to change Peter&#8217;s second one to:<br />
for i in *.mpeg; do mv &#8220;$i&#8221; &#8220;${i%mpeg}mod&#8221;;done</p>
<p>(I&#8217;m changing mpeg extensions back to mod so I convert them to dv files for Final Cut Pro X)<br />
Oh, using Mac OSX Lion</p>
<p>By far the best, quickest ánd cheapest solution to change file extensions in batch on a Mac! Thanks!!</p>
<p>-Jan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter honeyman</title>
		<link>http://MacDeveloperTips.com/tools-utilities/mass-rename-file-extensions.html/comment-page-1#comment-279</link>
		<dc:creator>peter honeyman</dc:creator>
		<pubDate>Mon, 09 Jun 2008 14:27:03 +0000</pubDate>
		<guid isPermaLink="false">http://macdevelopertips.com/tools-utilities/mass-rename-file-extensions.html#comment-279</guid>
		<description>this is not worth a shell script -- just type it in by hand

for i in *.txt; do mv $i `basename $i .txt`&quot;.xml;done

of course, that doesn&#039;t handle spaces right, so fix up the rest

for i in *.txt; do base=`basename &quot;$i&quot; .txt`; mv &quot;$i&quot; &quot;$base&quot;.xml;done

-- peter</description>
		<content:encoded><![CDATA[<p>this is not worth a shell script &#8212; just type it in by hand</p>
<p>for i in *.txt; do mv $i `basename $i .txt`&#8221;.xml;done</p>
<p>of course, that doesn&#8217;t handle spaces right, so fix up the rest</p>
<p>for i in *.txt; do base=`basename &#8220;$i&#8221; .txt`; mv &#8220;$i&#8221; &#8220;$base&#8221;.xml;done</p>
<p>&#8211; peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Everson Santos Araujo</title>
		<link>http://MacDeveloperTips.com/tools-utilities/mass-rename-file-extensions.html/comment-page-1#comment-192</link>
		<dc:creator>Everson Santos Araujo</dc:creator>
		<pubDate>Thu, 22 May 2008 14:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://macdevelopertips.com/tools-utilities/mass-rename-file-extensions.html#comment-192</guid>
		<description>To work with spaces, put &quot; in line 28, so it will be:

mv &quot;$filename&quot; &quot;${filename%$1}$2&quot;</description>
		<content:encoded><![CDATA[<p>To work with spaces, put &#8221; in line 28, so it will be:</p>
<p>mv &#8220;$filename&#8221; &#8220;${filename%$1}$2&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://MacDeveloperTips.com/tools-utilities/mass-rename-file-extensions.html/comment-page-1#comment-177</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 18 May 2008 22:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://macdevelopertips.com/tools-utilities/mass-rename-file-extensions.html#comment-177</guid>
		<description>This doesn&#039;t work if there are spaces in the file names, like in music</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t work if there are spaces in the file names, like in music</p>
]]></content:encoded>
	</item>
</channel>
</rss>

