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.


System-wide installation:

$ pip install 1to001

User installation:

$ pip install --user 1to001

For development code:

$ pip install git+


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


-i (--ignore-case)

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


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


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.

Filename, size & hash SHA256 hash help File type Python version Upload date
1to001-0.3.0.tar.gz (5.0 kB) Copy SHA256 hash SHA256 Source None
1to001-0.3.0.win32.exe (66.4 kB) Copy SHA256 hash SHA256 Windows Installer any (7.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page