Skip to main content

Padding numbers in filenames automatically

Project description

1to001 is made for padding numbers in filenames automatically. It’s written in Python 3.

Installation

System-wide installation:

$ pip install 1to001

User installation:

$ pip install --user 1to001

For development code:

$ pip install git+https://github.com/livibetter/1to100.git

Example

$ touch 1.txt 100.txt
$ 1to001 *.txt
+ 001.txt
? ++
perform padding (y/n)? y
1.txt -> 001.txt

Options

-i (--ignore-case)

When cases are mixed, this option would ignore the cases, for example for files like:

read100me1.TXT
read5Me02.txt

They can be renamed to:

1to001 -i *.{txt,TXT}
+ read005Me02.txt
?     ++
+ read100me01.TXT
?          +
perform padding (y/n)?
-y (--yes)

Automatic yes to prompts

More information

License

This project is licensed under the MIT License, see COPYING.

Project details


Download files

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

Source Distributions

1to001-0.3.0.zip (7.4 kB view details)

Uploaded Source

1to001-0.3.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

1to001-0.3.0.win32.exe (66.4 kB view details)

Uploaded Source

File details

Details for the file 1to001-0.3.0.zip.

File metadata

  • Download URL: 1to001-0.3.0.zip
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for 1to001-0.3.0.zip
Algorithm Hash digest
SHA256 d949ac33fb03676e82d058f678606b1e35ce9428d909a4c188e013ab200ba349
MD5 c14b535d6b88067063bee748ef0178e7
BLAKE2b-256 014ea6c0b0622fc5cdcb7ce76b6f84beb263c585c0e0b6603d36f523435e7d3c

See more details on using hashes here.

File details

Details for the file 1to001-0.3.0.tar.gz.

File metadata

  • Download URL: 1to001-0.3.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for 1to001-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f3d472f38a4daa1e6a6a45178947eaa90edfe203c3a91a7fb74ad0629cb3e2e4
MD5 fddde919488aefd46e2f5e1520b16017
BLAKE2b-256 c433acfb3bcaae472a4291a6b23ef7713b1986bf46df6e9de428a543d441d9fa

See more details on using hashes here.

File details

Details for the file 1to001-0.3.0.win32.exe.

File metadata

  • Download URL: 1to001-0.3.0.win32.exe
  • Upload date:
  • Size: 66.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for 1to001-0.3.0.win32.exe
Algorithm Hash digest
SHA256 d48700885d85375a0f8060acadc3dd8b557dd7d6717cdb8355ffedcf2f0d9cd0
MD5 b5cbb8ee7c13392db703f9cfdf268896
BLAKE2b-256 dc0089b0c21c113516a21479879de9d78ff44109fe1ee964607b7f43437bf959

See more details on using hashes here.

Supported by

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