Skip to main content

Utility to scan and fix filenames with special characters by renaming them

Project description


fixnames is a utility to scan and fix linux filenames with special characters by renaming them.


Linux is liberal in letting us choose filenames, so sometimes we end up choosing files with special characters such as |, [, ], etc. When you try to use these files on other operating systems like Windows or Android, they fail to work properly. fixnames is a Python utility to scan and fix such files on your linux system. fixnames scans files recursively in a given directory and fixes them by renaming if found to contain special chars.


pip install fixnames


pip uninstall fixnames


$ fixnames ./

renaming files

renaming directories
renamed ./test/bing" to ./test/bing

0 files renamed
1 directories renamed


According to Wikipedia, these are the special characters which aren't allowed on NTFS file systems:

0x00-0x1F 0x7F " * / : < > ? \ |

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fixnames, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size fixnames-0.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page