This Java program will recursively rename .fil
files in the specified directory, ensuring they follow the naming convention described, and convert all filenames to uppercase. If, for instance, you have twenty albums, direct this program to run in their parent directory, and all the albums in subdirectories will be corrected.
This script renames all files to be all-caps, and to have names exactly eight characters long. It will add filler characters if necessary. It will make sure they’re unique by incrementing a counter. These appear to be the most important factors in making files identifiable to early Disklaviers, based on my experience and those of commenters.
At this point, you’re ready to use EEXPLORE.EXE to move through each directory and prepare your PIANODIR.FIL. At a future date, I’d like to automate this.
Make certain to back up all files before running this! I can’t guarantee perfect results for all combinations of names and strings of characters.
- Windows (EXE): Download and extract RenameForDisklavier.zip. Double-click on RenameForDisklavier.exe, and then select the folder containing all of your extracted albums. It will rename all the .fil files in all the subdirectories.
- From Jar: Download and extract this archive containing the source, jar, and class files. Double-click on RenameForDisklavier.jar, or Right-click and Open With JDK Runtime. Alternatively, you can run the class file directly by invoking java RenameForDisklavier from the command prompt.