Popular recipes tagged "renaming"http://code.activestate.com/recipes/tags/renaming/popular/2011-11-03T17:50:55-07:00ActiveState Code RecipesRename non-ASCII filenames to readable ASCII, i.e. replace accented characters, etc (Python) 2011-11-03T17:50:55-07:00ccpizzahttp://code.activestate.com/recipes/users/4170754/http://code.activestate.com/recipes/577226-rename-non-ascii-filenames-to-readable-ascii-ie-re/ <p style="color: grey"> Python recipe 577226 by <a href="/recipes/users/4170754/">ccpizza</a> (<a href="/recipes/tags/conversion/">conversion</a>, <a href="/recipes/tags/renaming/">renaming</a>, <a href="/recipes/tags/unicode/">unicode</a>). Revision 3. </p> <p>The script converts any accented characters in filenames to their ASCII equivalents. e.g.:</p> <p>Example:</p> <pre class="prettyprint"><code>â &gt; a ä &gt; a à &gt; a á &gt; a é &gt; e í &gt; i ó &gt; o ú &gt; u ñ &gt; n ü &gt; u ... </code></pre> <p>Before-and-after example:</p> <pre class="prettyprint"><code>01_Antonín_Dvořák_Allegro.mp3 &gt;&gt;&gt; 01_Antonin_Dvorak_Allegro.mp3 </code></pre> <p>Usage:</p> <pre class="prettyprint"><code>Running the script without arguments will rename all files in the current folder. !!!WARNING!!! ***No*** backups are created. </code></pre> Renamer (Python) 2008-11-30T17:56:56-08:00foobarhttp://code.activestate.com/recipes/users/4166585/http://code.activestate.com/recipes/576443-renamer/ <p style="color: grey"> Python recipe 576443 by <a href="/recipes/users/4166585/">foobar</a> (<a href="/recipes/tags/files/">files</a>, <a href="/recipes/tags/nautilus/">nautilus</a>, <a href="/recipes/tags/renaming/">renaming</a>). Revision 4. </p> <p>Just a small script to rename files and folders in nautilus recursively Tested under Ubuntu 8.04</p>