Sunday, November 9, 2014

Bulk Rename Utility 1.0

Recently wanted to rename a bunch of similar video files and thought it would be nice to do a bit of programming (pretty much all weekend... but it was fun) to do it. The result is Bulk Rename Utility.

The program allows you to rename a bunch of files at once based on Filters (or rules).

Currently there are two types of filters but for the most part you only need RegexFilter anyway. TrimFilter I guess is more just to prove that multiple filters work :)

The RegexFilter searches the name for the parts that match the regular expression in SearchFor and replaces with the text in ReplaceWith. To delete the matches entirely, just leave ReplaceWith empty.

Also, if you have files loaded, it will use the first file's name as the default Preview text.

The TrimFilter trims a single character from the beginning and end of the name, not very exciting I know.

Note that filters are run in order, so if you had:

Original String: Hello World
Filter 1: World => Apple
Filter 2: Apple => Orange

The result would be "Hello Orange". And if you flipped the order, it would be "Hello Apple"

The program also allows you to save the filters so that it can be used again on other files.
Finally, you can remove multiple files from the list at once by using CTRL to select multiple items and clicking "Remove Selected".

Download: https://drive.google.com/folderview?id=0BwHjtARwf-GFV0ZidHplMF85TFE&usp=sharing

GitHub: https://github.com/allanx2000/BulkRename

Also all applications are built for .NET 4.0 Client Profile, unless otherwise stated. I've only tested it on Windows 8 x64... because I'm too lazy to install a x86 VM but it should work as it is compiled targeting Any CPU.

No comments:

Post a Comment