Introduction
fixnames is a utility to scan and fix linux filenames with special characters by renaming them.
Synopsis
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.
Installation
pip install fixnames
Uninstallation
pip uninstall fixnames
Usage
$ fixnames ./
renaming files
renaming directories
renamed ./test/bing" to ./test/bing
0 files renamed
1 directories renamed
Notes
According to Wikipedia, these are the special characters which aren't allowed on NTFS file systems:
0x00-0x1F 0x7F " * / : < > ? \ |
Metadata
Release files for fixnames 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fixnames-0.2.tar.gz | 2.9 kB | Details |
Release files / fixnames-0.2.tar.gz
| Download URL | fixnames-0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f53af5c8b45dcf2a3d60dd3d93e8efcc0cecd9a1bfea665ebe6c7a0ef3b882ba
|
|
BLAKE2b-256 checksum How to use checksums |
3fadc828edd30868922cc7551e8c6c0f344389e2820bffcfaf9e9cc27acae71a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.7
|