WavRen (licensed under GPL by Tobias Weihmann) http://www.fomalhaut.de
WavRen is a quick hack which allows you to rename a bunch of wavfiles (or other files) without having to type "mv 02.wav 01-songname.wav" for each file. Tracks can be renumbered automatically. There may be better tools around to do this but it is a neat companion to WavSplit and helped me to transfer my gramophone collection to CD.
USAGE
wavren [FIRST-OUTPUT-TRACK-NR] [EXTENSION]
Default first output track number is "1"
Default extension is ".wav"
DESCRIPTION
Example. You created a directoy with files like 01.wav 02.wav ... using WavSplit. Then you deleted the first and the last wavfile to the silence at the beginning and the end. Now you can
cd trackdirectory
wavren
The output looks as follows:
WavRen - interactively renames all WAVs in a given directory
Please enter new filenames, empty filename to skip a file.
02.wav ->
Enter the song name, without track number and extension, or just press Return to skip this file. The program will ask for the next file in the directory (in alphabetical order). You can stop the process by pressing CTRL-C.
02.wav -> the first song
03.wav -> the second song
04.wav -> the third song
Success.
You now have the files 01-the_first_song.wav, 02-the_second_song.wav and 03-the_third_song.wav in the directory.
At the command line you can specify a different track number to start
- with
wavren 5
The first track you rename will get the name 05-song_name.wav, the second 06-song_name.wav and so on. Remember, the track number you specify is the output track number, the original track number set by WavSplit is irrelevant except that WavRen sorts the files in alphabetical an always asks for 02.wav before 03.wav.
You can also use WavRen to rename MP3 files:
wavren 1 mp3
The second argument specifies the file extension of the input files.
LIMITATIONS / TO DO
This is a quick hack.
Bug reports, additions and corrections welcome.
tobias@fomalhaut.de
For information on WavSplit please have a look at README.wavsplit
