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 specified 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-3.0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

chname-3.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chname-3.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Darwin/25.2.0

File hashes

Hashes for chname-3.0.2.tar.gz
Algorithm Hash digest
SHA256 26c95a1044ccca4f6c68c850ce39ddffc26fe888d224d6184b000940e5c49c11
MD5 69267dc7338eee00873e455b7a6ce722
BLAKE2b-256 c12d581439405b5e70bfdbce418b8ed241be41cbf6c3d0003b8b60ed8b17e1b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chname-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Darwin/25.2.0

File hashes

Hashes for chname-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7d3fee23fb5b7b189cbb4985b4a6553371be850054fa764777cb173369b04319
MD5 0336b5d9eab5781e8c620a0a6c818230
BLAKE2b-256 6912fd09ae86738fd3327673b941103f272f77a9de16e982afb1f277043a3f75

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