<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=Bulk_rename_routines</id>
	<title>Bulk rename routines - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=Bulk_rename_routines"/>
	<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=Bulk_rename_routines&amp;action=history"/>
	<updated>2026-05-09T09:06:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://vistapedia.com/index.php?title=Bulk_rename_routines&amp;diff=17095&amp;oldid=prev</id>
		<title>Shabiel: Created page with &quot;To bulk rename routines, easiest to use the &lt;code&gt;rename&lt;/code&gt; command. Use the -n flag to rename so that it won&#039;t do anything before you commit to renaming.  &lt;pre&gt; $ rename ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=Bulk_rename_routines&amp;diff=17095&amp;oldid=prev"/>
		<updated>2015-10-07T02:01:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;To bulk rename routines, easiest to use the &amp;lt;code&amp;gt;rename&amp;lt;/code&amp;gt; command. Use the -n flag to rename so that it won&amp;#039;t do anything before you commit to renaming.  &amp;lt;pre&amp;gt; $ rename ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To bulk rename routines, easiest to use the &amp;lt;code&amp;gt;rename&amp;lt;/code&amp;gt; command. Use the -n flag to rename so that it won&amp;#039;t do anything before you commit to renaming.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ rename -n s/KBAIEHX/EHXPRE/ r/KBAIEHX*.m&lt;br /&gt;
$ rename -v s/KBAIEHX/EHXPRE/ r/KBAIEHX*.m&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To rename the variables inside of the routines, you can use &amp;lt;code&amp;gt;sed&amp;lt;/code&amp;gt; like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sed -i &amp;#039;s/KBAIEHX/EHXPRE/g&amp;#039; r/EHXPRE*.m&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shabiel</name></author>
	</entry>
</feed>