<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Rename_helper</id>
		<title>Rename helper - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Rename_helper"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Rename_helper&amp;action=history"/>
		<updated>2026-04-08T00:09:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Rename_helper&amp;diff=46092&amp;oldid=prev</id>
		<title>Parchivist: Created page with &quot;{{FormatInfo |subcat=Archiving }}   '''rename helper''' by KeyJ (Martin Fiedler) is a Python script that helps in replicating file rename operations across machines  Examp...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Rename_helper&amp;diff=46092&amp;oldid=prev"/>
				<updated>2023-10-29T17:58:26Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |subcat=Archiving }}   &amp;#039;&amp;#039;&amp;#039;rename helper&amp;#039;&amp;#039;&amp;#039; by KeyJ (Martin Fiedler) is a &lt;a href=&quot;/wiki/Python&quot; title=&quot;Python&quot;&gt;Python&lt;/a&gt; script that helps in replicating file rename operations across machines  Examp...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|subcat=Archiving&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''rename helper''' by KeyJ (Martin Fiedler) is a [[Python]] script that helps in replicating file rename operations across machines&lt;br /&gt;
&lt;br /&gt;
Example: Alice has a directory containing some files. It gives a copy of these files to Bob. Afterwards, she renames the files to follow a different nomenclature. Bob wants to have these new file names, too, but he doesn't want to copy the files again. So, what Alice does is:&lt;br /&gt;
&lt;br /&gt;
* %prog -R $directory &amp;gt;list.txt&lt;br /&gt;
&lt;br /&gt;
She then sends list.txt to Bob, who does:&lt;br /&gt;
&lt;br /&gt;
* %prog -l list.txt -R $directory&lt;br /&gt;
&lt;br /&gt;
to rename his copies of the files to the new names.&lt;br /&gt;
&lt;br /&gt;
Technically this works by generating a list file that contains the new name (encoded in platform-neutral UTF-8) and a hash of each file's size as well as samples from the beginning, mid and end of the data. It's not a full data hash, but enough to work in 99.9% of all situations.&lt;br /&gt;
&lt;br /&gt;
Superseded by [[dirpatch]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://keyj.emphy.de/projects/tools-scripts/ Homepage]&lt;/div&gt;</summary>
		<author><name>Parchivist</name></author>	</entry>

	</feed>