<?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: Rename multiple files to another extension in Linux</title>
	<atom:link href="http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Thu, 19 Nov 2009 13:24:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Will</title>
		<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/comment-page-1#comment-3258</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Mon, 22 Jun 2009 16:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html#comment-3258</guid>
		<description>Vincent,

for old in *; do mv $old `basename $old`.zip; done


* = all files, you can change that though. like FILE*</description>
		<content:encoded><![CDATA[<p>Vincent,</p>
<p>for old in *; do mv $old `basename $old`.zip; done</p>
<p>* = all files, you can change that though. like FILE*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/comment-page-1#comment-3202</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Sun, 14 Jun 2009 17:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html#comment-3202</guid>
		<description>What all those commands do not cover is to add an extension to a file that has none.
How would that work?</description>
		<content:encoded><![CDATA[<p>What all those commands do not cover is to add an extension to a file that has none.<br />
How would that work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fagner</title>
		<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/comment-page-1#comment-2173</link>
		<dc:creator>Fagner</dc:creator>
		<pubDate>Wed, 07 Jan 2009 23:14:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html#comment-2173</guid>
		<description>Good job!</description>
		<content:encoded><![CDATA[<p>Good job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zodak</title>
		<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/comment-page-1#comment-1838</link>
		<dc:creator>Zodak</dc:creator>
		<pubDate>Sun, 19 Aug 2007 22:20:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html#comment-1838</guid>
		<description>The same can be done using the parameter expansion feature of the bash shell.

for a in *php5 ; do mv $a ${a%%5} ; done</description>
		<content:encoded><![CDATA[<p>The same can be done using the parameter expansion feature of the bash shell.</p>
<p>for a in *php5 ; do mv $a ${a%%5} ; done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hron84</title>
		<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/comment-page-1#comment-1837</link>
		<dc:creator>hron84</dc:creator>
		<pubDate>Sun, 19 Aug 2007 08:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html#comment-1837</guid>
		<description>And this can be usede too:

#!/bin/bash
for x in *.php5; do n=${x/.php5/.php}; mv $x $n; done

And it&#039;s can be used in other dir than &#039;.&#039;</description>
		<content:encoded><![CDATA[<p>And this can be usede too:</p>
<p>#!/bin/bash<br />
for x in *.php5; do n=${x/.php5/.php}; mv $x $n; done</p>
<p>And it&#8217;s can be used in other dir than &#8216;.&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Geisert</title>
		<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/comment-page-1#comment-1836</link>
		<dc:creator>Christian Geisert</dc:creator>
		<pubDate>Mon, 13 Aug 2007 02:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html#comment-1836</guid>
		<description>And I&#039;m using &#039;mmv&#039; ;-)</description>
		<content:encoded><![CDATA[<p>And I&#8217;m using &#8216;mmv&#8217; <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/comment-page-1#comment-1835</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sun, 12 Aug 2007 19:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html#comment-1835</guid>
		<description>You can also use the &#039;rename&#039; command included with most debian installs. It&#039;s a little more intuitive, imho.

$ rename
Usage: rename [-v] [-n] [-f] perlexpr [filenames]

$ rename &#039;s/\.php5/.php/&#039; *.php5</description>
		<content:encoded><![CDATA[<p>You can also use the &#8216;rename&#8217; command included with most debian installs. It&#8217;s a little more intuitive, imho.</p>
<p>$ rename<br />
Usage: rename [-v] [-n] [-f] perlexpr [filenames]</p>
<p>$ rename &#8217;s/\.php5/.php/&#8217; *.php5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jds</title>
		<link>http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html/comment-page-1#comment-1834</link>
		<dc:creator>jds</dc:creator>
		<pubDate>Sun, 12 Aug 2007 19:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/rename-multiple-files-to-another-extension-in-linux.html#comment-1834</guid>
		<description>ich mag prename lieber ...</description>
		<content:encoded><![CDATA[<p>ich mag prename lieber &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
