#notice the begining of the options section FILEMASK='%r - %a - %n - %t' #key #---------------------------------------------------------- #%r = Artist, %a = Album, %n = song number, %t = Song Title #%ur = ARTIST, %ua = ALBUM, %ut = SONG TITLE #%lr = artist, %la = album, %lt = song title #%fr = first character of artist's name #each of these special symbols will be replaced by the appropriate artist/album #etc. for each mp3 #note that by prefixing one of these symbols with a l then it will be converted #to lower case for the file/directory/id3 tag, or if by a u, then it will be #converted in upper case. #it doesn't matter if some of these don't exist in every song title #if for instance, album doesn't exist in the title, everything following %a up #to the next % will be removed from the mask for the renamed mp3. so in the #above example " - " would be removed. #also if anything is enclosed in brackets in your naming scheme, and the item #doesn't exist, then the brackets will be removed appropriately DIRECTORYMASK='%r/%a/' #this is like the FILEMASK, you want to use "/" as the delimeter, trust me. #if the album isn't found in the song title then that directory just won't be #created ID3TITLEMASK='%n - %t' #title doesn't include the filename extension for this one #also behaves sensibly as FILEMASK does -x #this is a good idea unless you can't be bothered to install MP3::Tagged #-f #if the above line was uncommented, this would set the command line option -f to #on by default. In this case for example, the script would never ask you before #renaming each mp3 #-d '/home/everlong/audio files/' #if the above line was uncommented, the command line -d would always be set, #with the options set as shown without the quotes. Note that when setting #command line options with arguments as above, you must always enclose the #argument in single quotes, and there must be a space between the argument and #the first single quote. #Options set here are overridden by options set on the command line. #-i '2' #one more example, if the above option was uncommented the script would always #write the id3v2 tag of each mp3 #general options section over, now start the gui options section -Dd -Ds