Rename non-ASCII filenames to readable ASCII, i.e. replace accented characters, etc

Category: Python - Miscellaneous

The script converts any accented characters in filenames to their ASCII equivalents. e.g.:

Example:

a > a
a > a
? > a
a > a
e > e
i > i
o > o
u > u
n > n
u > u
...


Before-and-after example:

01_Antonin_Dvorak_Allegro.mp3 >>> 01_Antonin_Dvorak_Allegro.mp3


Usage:

Running the script without arguments will rename all files in the current folder.
!!!WARNING!!! ***No*** backups are created. Date: 26 January, 2012


Conversion - Renaming - Unicode

Homepage: http://code.activestate.com/recipes/577226-rename-non-ascii-filenames-to-readable-ascii-ie-re/?in=lang-python

Developer: ccpizza

License: Freeware

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

MiniStat.

developer Developer: J.J. Mancini
license License: GNU General Public License (GPL)
operating systems Operating System: ALL


Blood Frontier is collaborative effort with art assets created by Anthony Cord and engine enhancements by Quinton Reeves.

developer Developer: bloodfrontier.com
license License: zlib/libpng License
operating systems Operating System: OS Portable (Source code to work with many OS platforms)


Countdown class displays (and updates) time left provided by user.

developer Developer: Arturs Sosins
license License: BSD License
operating systems Operating System: Not Available


JUnitConvert - Units of Measure Converter is multi-platform compatible.

developer Developer: RF
license License: Freeware
operating systems Operating System: All


MP3SPI is a Java Service Provider Interface that implements MP3 (MPEG 1/2/2.

developer Developer: JavaZOOM
license License: Freeware
operating systems Operating System: Linux, Unix, Windows


Compact RPN calculator with 99 stacks, trigonometric functions and userdefined variables.

developer Developer: Hans Bauer
license License: Freeware
operating systems Operating System: Linux, Unix, Windows


Easily convert more than 700 units and unit combinations in 20 categories.

developer Developer: Hans Bauer
license License: Freeware
operating systems Operating System: Linux, Unix, Windows


An example Maybe pattern implementation for Python.

developer Developer: Alan Franzoni
license License: Freeware
operating systems Operating System: Windows


A short engine for testing against a regex, understanding the 3 common quantifiers
.

developer Developer: Joost Behrends
license License: Freeware
operating systems Operating System: Windows