bulkren - Bulk File Renaming Utility

This utility takes files in a directory and either renames them sequentially (useful for arranging directories of downloaded porn for exmaple ;-) ) or with random filenames (useful for doing things like randomizing file order for the purposes of drag and drop applications such as CD burners).

It's fairly feature rich as far as what it can do. It can of course operate on any file mask you specify (and it will retain file extension data if it's not obvious). The following options are available when operating with randomized naming:

  • Selection of numeric, alpha, or alphanumeric naming (with case selection).
  • Alternately, custom character sets can be defined.
  • Any length of filename can be generated (assuming there are enough variations to create the list).
  • Optional prefix addition.
When operating in sequential mode, the following options are available:

  • Selection of binary, octal, decimal, hex, or alphabetic numbering systems.
  • Alternately, custom bases (ie. base 5 is 01234) and custom character sets for these bases may be defined.
  • Pre-sorting options include system, as well as ascending and descending sorts with or without case sensitivity.
  • Optional user defineable prefix.
  • Optional ability to start at a given counter number.
  • Optional ability to pad the filename to any given length (ie. 002 instead of just 2).
After being told what to do, the software writes two batch files. The first one renames the files to the new set (so you can inspect it before running if you'd like), and the second one restores the files to their previous names (if you make a mistake, or have some odd need to distribute a set of files with obscured filenames).

Anyway, it's pretty self explanatory so I haven't written much in the way of documentation. Sorry.

That said, this is free software released without warranty of any kind. It works for what I need it to do; I don't know if there are hidden problems that I am unaware of. Feel free to change it for your needs (source is included, and it's really simple).

Hope this is useful for someone.

Shannon
contact info in source code