A little C# appication I put together to purge old characters/players from a persistent world database, and character .bic files from the server vault. I used the MySQL .Net connector found here: Link
The application relies on a configuration file. The configurable values are:
server - database server
user - user account to access database
schema - database schema to use
vault - location of the server vault
days - days considered old
whatToDo - archive/move the .bic files or delete them. Anything but delete will move the files.
archiveDir - directory to move the .bic files into
writeLog - true or false
logFile - location / name of logfile
Since this is customized for my database tables I have not included a binary executable file, just the source code so this would more of an example. The application can be easily modified for your specific database setup or adapted to use a different database.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone