<?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 – A Command Line Tool For Renaming Multiple Files in Linux	</title>
	<atom:link href="https://www.tecmint.com/rename-multiple-files-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/rename-multiple-files-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 21 Nov 2024 07:06:54 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-2244305</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Thu, 21 Nov 2024 07:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4393#comment-2244305</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-2242046&quot;&gt;kcuthy&lt;/a&gt;.

@Kcuthy,

Ensure that you&#039;re using the correct syntax for the rename command. In &lt;strong&gt;Termux&lt;/strong&gt;, the &lt;code&gt;mv&lt;/code&gt; command is typically used for renaming files:
&lt;pre&gt;
mv old_filename new_filename
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-2242046">kcuthy</a>.</p>
<p>@Kcuthy,</p>
<p>Ensure that you&#8217;re using the correct syntax for the rename command. In <strong>Termux</strong>, the <code>mv</code> command is typically used for renaming files:</p>
<pre>
mv old_filename new_filename
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kcuthy		</title>
		<link>https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-2242046</link>

		<dc:creator><![CDATA[kcuthy]]></dc:creator>
		<pubDate>Fri, 15 Nov 2024 11:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4393#comment-2242046</guid>

					<description><![CDATA[Thanks for your post. However, when I tried to follow the cmdlets on my Termux terminal, it did not rename any files. May I know the reason?]]></description>
			<content:encoded><![CDATA[<p>Thanks for your post. However, when I tried to follow the cmdlets on my Termux terminal, it did not rename any files. May I know the reason?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-2134823</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 12 Feb 2024 04:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4393#comment-2134823</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-2134103&quot;&gt;Philippe Moisan&lt;/a&gt;.

@Philippe,

The command rename &lt;code&gt;&#039;s/\b(\w)/\U$1/g&#039; *.ext&lt;/code&gt; is is used to rename files with a specific extension in the current directory by modifying their names according to a regular expression pattern.

Let&#039;s break down the components of the command:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;s/&lt;/code&gt; - Indicates a substitution operation.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;\b&lt;/code&gt; - Represents a word boundary, ensuring that only the first character of each word is affected.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;(\w)&lt;/code&gt; - Captures a word character and stores it in a capturing group.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;\U$1&lt;/code&gt; - Converts the captured character to uppercase.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/g&lt;/code&gt; - Global flag, meaning it applies the substitution globally (to all occurrences).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;*.ext&lt;/code&gt; - Specifies the files to be renamed. In this case, it selects all files with the extension &lt;code&gt;&quot;.ext&quot;&lt;/code&gt; in the current directory.&lt;/li&gt;
&lt;/ul&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-2134103">Philippe Moisan</a>.</p>
<p>@Philippe,</p>
<p>The command rename <code>'s/\b(\w)/\U$1/g' *.ext</code> is is used to rename files with a specific extension in the current directory by modifying their names according to a regular expression pattern.</p>
<p>Let&#8217;s break down the components of the command:</p>
<ul>
<li><code>s/</code> &#8211; Indicates a substitution operation.</li>
<li><code>\b</code> &#8211; Represents a word boundary, ensuring that only the first character of each word is affected.</li>
<li><code>(\w)</code> &#8211; Captures a word character and stores it in a capturing group.</li>
<li><code>\U$1</code> &#8211; Converts the captured character to uppercase.</li>
<li><code>/g</code> &#8211; Global flag, meaning it applies the substitution globally (to all occurrences).</li>
<li><code>*.ext</code> &#8211; Specifies the files to be renamed. In this case, it selects all files with the extension <code>".ext"</code> in the current directory.</li>
</ul>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Philippe Moisan		</title>
		<link>https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-2134103</link>

		<dc:creator><![CDATA[Philippe Moisan]]></dc:creator>
		<pubDate>Sat, 10 Feb 2024 00:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4393#comment-2134103</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-1023248&quot;&gt;Ravi Saive&lt;/a&gt;.

I wish you would have explained how that specific command works.

Thanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-1023248">Ravi Saive</a>.</p>
<p>I wish you would have explained how that specific command works.</p>
<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rocco Gilbralter		</title>
		<link>https://www.tecmint.com/rename-multiple-files-in-linux/comment-page-1/#comment-1435663</link>

		<dc:creator><![CDATA[Rocco Gilbralter]]></dc:creator>
		<pubDate>Tue, 16 Feb 2021 20:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4393#comment-1435663</guid>

					<description><![CDATA[For Centos 7:

To change all txt extension to html extension:
&lt;pre&gt;
$ rename txt html *.txt
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>For Centos 7:</p>
<p>To change all txt extension to html extension:</p>
<pre>
$ rename txt html *.txt
</pre>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
