Skip to main content

Renames files in powerful ways

Project description

chname

chname renames files in powerful ways.

Usage:
    chname [options] [<files>...]

Options:
    -a, --append=<suffix>                      Suffix to be appended
    -d, --delimiter=<delimiter>                Specifies the delimiter for fixing numerical filenames
    --directory=<directory>                    Destination directory [default: .]
    -f, --fix=<maximum number of digits>       Fixes numerical file names
    -h, --help                                 Show this help screen
    -l, --lower                                Translates the filenames to lowercase
    --merge                                    Merges the files in order specfied on command line
    -o, --order                                Take any input files and renames them in numerical order
    -p, --prepend=<prefix>                     Prefix to be prepended
    --random                                   Randomizes the files
    -r, --remove=<pattern>                     Pattern to be removed, can be a regex
    -q, --quiet                                Quiet mode
    -s, --substitute=<substitution pattern>    Substitutes a pattern (old/new, old can be a regex)
    -t, --test                                 Test mode (Just prints the rename operations)
    --titles=<input file with titles>          Rename the files by names in the specified input file
    --usage                                    Detailed usage information
    -v, --verbose                              Verbose mode
    --version                                  Prints the version

Installation

pip install chname

License

chname is freeware released under the MIT License.

Project details


Download files

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

Source Distribution

chname-2.1.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chname-2.1.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file chname-2.1.3.tar.gz.

File metadata

  • Download URL: chname-2.1.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/24.6.0

File hashes

Hashes for chname-2.1.3.tar.gz
Algorithm Hash digest
SHA256 2334ae500791cf7be9ee5bfe0d8ede60ab9dbb1bd370f458429745a2f3ce30ae
MD5 ae1bc57c71feddd89521cd516a527def
BLAKE2b-256 122befc67fd7da4113866aac0a4540cd126f01dfc2cde8dca07826071a1d7d70

See more details on using hashes here.

File details

Details for the file chname-2.1.3-py3-none-any.whl.

File metadata

  • Download URL: chname-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/24.6.0

File hashes

Hashes for chname-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00e8e2fd26bf7633e51340c0933333ada51671f1b1d733dd39e9353343939a9b
MD5 f414f77b6bcdb124852ff318943afd17
BLAKE2b-256 2cd02d30116a6030e3ca8461d7dc9167290d0afdd4d1d1a78e4ef3289f978eed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page