Renumber
This simple utility allows renaming non-sequential files to be sequentially numbered.
For example given input files: input00.txt
, input03.txt
, input99.txt
it can change their
names to: f0.text
, f1.text
, f2.text
Installation
Add the command line utility using Ruby's gem command:
$ gem install renumber
Usage
From the command line specify a directory name and optional prefix and suffix:
$ renumber directory_name [prefix] [suffix]
Contributing
- Fork it ( https://github.com/[my-github-username]/renumber/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request