<?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 Files in Bulk from the Command Line</title>
	<atom:link href="http://savvyadmin.com/rename-files-in-bulk-from-the-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://savvyadmin.com/rename-files-in-bulk-from-the-command-line/</link>
	<description>For savvy admins everywhere...</description>
	<lastBuildDate>Wed, 14 Jul 2010 15:57:06 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Renamer</title>
		<link>http://savvyadmin.com/rename-files-in-bulk-from-the-command-line/comment-page-1/#comment-923</link>
		<dc:creator>Renamer</dc:creator>
		<pubDate>Sun, 21 Mar 2010 20:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/?p=59#comment-923</guid>
		<description>Hmmp..!! I am definetly emprresed this kind of blogs. I figure it out already what did i mistake about &lt;a href=&quot;http://www.ulfwood.net/RenameFiles/FileRenamer.aspx&quot; rel=&quot;nofollow&quot;&gt;Rename Files&lt;/a&gt;. Thank you very much.!!</description>
		<content:encoded><![CDATA[<p>Hmmp..!! I am definetly emprresed this kind of blogs. I figure it out already what did i mistake about <a href="http://www.ulfwood.net/RenameFiles/FileRenamer.aspx" rel="nofollow">Rename Files</a>. Thank you very much.!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caridreni</title>
		<link>http://savvyadmin.com/rename-files-in-bulk-from-the-command-line/comment-page-1/#comment-337</link>
		<dc:creator>caridreni</dc:creator>
		<pubDate>Wed, 22 Apr 2009 12:03:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/?p=59#comment-337</guid>
		<description>hm. bookmarked :)</description>
		<content:encoded><![CDATA[<p>hm. bookmarked :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://savvyadmin.com/rename-files-in-bulk-from-the-command-line/comment-page-1/#comment-152</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Tue, 29 Jul 2008 04:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/?p=59#comment-152</guid>
		<description>Ah. I see. I manually renamed the first 300 files and then got sick of it and found your blog. i think i get the general idea, though i&#039;m trying to figure out the syntax of all the elements. Thank you very much. This will be very helpful in the future.</description>
		<content:encoded><![CDATA[<p>Ah. I see. I manually renamed the first 300 files and then got sick of it and found your blog. i think i get the general idea, though i&#8217;m trying to figure out the syntax of all the elements. Thank you very much. This will be very helpful in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gmendoza</title>
		<link>http://savvyadmin.com/rename-files-in-bulk-from-the-command-line/comment-page-1/#comment-151</link>
		<dc:creator>gmendoza</dc:creator>
		<pubDate>Tue, 29 Jul 2008 00:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/?p=59#comment-151</guid>
		<description>Ack!  wait up. You have a space in front of your search and replace... which is why nothing is happening.  But you also risk deleting the wrong part of your file names.

’s/ Discogs.url//’ will end up deleting anything that matches &quot; Discogs.url&quot;.  That will leave you with a file name of just &quot;.url&quot;.  hehe.

You probably want the following:

&lt;pre&gt;cd /media/sdb1/Music/mp3/electronic
find . -type f -name Discogs.url.url -exec rename ’s/Discogs.url/Discogs/’ ‘{}’ \;&lt;/pre&gt;

This will change the &quot;Discogs.url&quot; to simply &quot;Discogs&quot;, making the new full file name &quot;Discogs.url&quot;</description>
		<content:encoded><![CDATA[<p>Ack!  wait up. You have a space in front of your search and replace&#8230; which is why nothing is happening.  But you also risk deleting the wrong part of your file names.</p>
<p>’s/ Discogs.url//’ will end up deleting anything that matches &#8221; Discogs.url&#8221;.  That will leave you with a file name of just &#8220;.url&#8221;.  hehe.</p>
<p>You probably want the following:</p>
<pre>cd /media/sdb1/Music/mp3/electronic
find . -type f -name Discogs.url.url -exec rename ’s/Discogs.url/Discogs/’ ‘{}’ \;</pre>
<p>This will change the &#8220;Discogs.url&#8221; to simply &#8220;Discogs&#8221;, making the new full file name &#8220;Discogs.url&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://savvyadmin.com/rename-files-in-bulk-from-the-command-line/comment-page-1/#comment-149</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 28 Jul 2008 19:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/?p=59#comment-149</guid>
		<description>Hm okay... i noticed a few problems above. However, this is my new command and it doesn&#039;t do anything

find /media/sdb1/Music/mp3/electronic* -type f -name Discogs.url.url -exec rename &#039;s/ Discogs.url//&#039; &#039;{}&#039; \;

see, i want to take all the Discogs.url.url files in the directory electronic and rename them to Discogs.url

Thanks.</description>
		<content:encoded><![CDATA[<p>Hm okay&#8230; i noticed a few problems above. However, this is my new command and it doesn&#8217;t do anything</p>
<p>find /media/sdb1/Music/mp3/electronic* -type f -name Discogs.url.url -exec rename &#8216;s/ Discogs.url//&#8217; &#8216;{}&#8217; \;</p>
<p>see, i want to take all the Discogs.url.url files in the directory electronic and rename them to Discogs.url</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://savvyadmin.com/rename-files-in-bulk-from-the-command-line/comment-page-1/#comment-148</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 28 Jul 2008 19:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/?p=59#comment-148</guid>
		<description>I&#039;m trying to do this, I have &quot;Discogs.url.url&quot; files in about 600 different directories and I want to drop the last &quot;.url&quot;. Here&#039;s the syntax I used and the message I get

/media/sdb1/Music/mp3/electronic$ 

find . -type f -name Discogs.url.url -exec rename &#039;s/ Discogs.url//&#039; &#039;{}&#039; ;

find: missing argument to `-exec&#039;

Can you perhaps tell me what I did wrong?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to do this, I have &#8220;Discogs.url.url&#8221; files in about 600 different directories and I want to drop the last &#8220;.url&#8221;. Here&#8217;s the syntax I used and the message I get</p>
<p>/media/sdb1/Music/mp3/electronic$ </p>
<p>find . -type f -name Discogs.url.url -exec rename &#8216;s/ Discogs.url//&#8217; &#8216;{}&#8217; ;</p>
<p>find: missing argument to `-exec&#8217;</p>
<p>Can you perhaps tell me what I did wrong?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
