自动填充文件名中的数字
1to001的Python项目详细描述
1to001用于自动填充文件名中的数字。它是用python 3编写的。
安装
全系统安装:
$ pip install 1to001
用户安装:
$ pip install --user 1to001
开发代码:
$ pip install git+https://github.com/livibetter/1to100.git
示例
$ touch 1.txt 100.txt $ 1to001 *.txt + 001.txt ? ++ perform padding (y/n)? y 1.txt -> 001.txt
选项
- -i(--ignore-case)
混合案例时,此选项将忽略案例,例如对于以下文件:
read100me1.TXT read5Me02.txt
它们可以重命名为:
1to001 -i *.{txt,TXT} + read005Me02.txt ? ++ + read100me01.TXT ? + perform padding (y/n)?
- -y(--yes)
- 自动“是”提示
许可证
此项目是在麻省理工学院许可下授权的,请参见COPYING。