Thursday 15 April 2010

Batch renaming script updated

I added some command line arguments so you can easily use it directly from the terminal. You can navigate to the directory where your files are and use the argument * to select all the files in the current working directory, or use the -c argument to add conditionals (boolean 'not', 'and', 'or') that'll apply a filter on the current working directory, eg:

renamer.py -c 'foo'
will select all files with 'foo' in their name

renamer.py -c 'foo' and not 'bar'
will select all files with 'foo' in their name, except for those with 'bar'.

Click here to get it

No comments:

Post a Comment