Skywave Auto Rename 
"Skywave Auto Rename" will help you to auto rename your files in supported scenarioes:
  1. Matching: rename some target files to matching source files - matchings are done using .Net Regular Expressions so virtually any pattern can be matched
  2. CleanUp: remove some static strings in filenames

More features will be added in the feature ;)

Main Window Screenshot

Awards:

Matching Example:

Lets show you an example (this example is the cause I wrote this application :D ):
When you have lots of video files and you have downloaded subtitles for them, subtitles should have same name of matching video files to be played using VobSub,.....
renaming these many files (e.g. 30 titles per season) is so frustrating.
This application will let you do this automatically in less than 5 seconds :D, lets do it:
When you open the application, first fill the Folder field. It's where movie and subtitle files are. Consider files are in the following folder and named like this:
Folder:
       F:\TV\Lost
Movie Filenames:
       Lost S06 E01 & E02 - (LAX 1) & (LAX 2) XXXXXXXXXXXXXXXXXXXXXXXXXX.mkv
       Lost S06 E03 - XXXXXXXXXXXXXXXXXXXXXXXXXX.mkv
       Lost S06 E4 - XXXXXXXXXXXXXXXXXXXXXXXXXX.mkv
       .
       .
       .
       Lost S01 E20 - XXXXXXXXXXXXXXXXXXXXXXXXXX.mkv
Subtitle Filenames:
       YYYYY.S06.EP01,02.HDTV.ZZZZ.srt
       YYYYY.S06.ep03.HDTV.ZZZZ.mkv
       YYYYY.MMM.S06.NNN.Ep4XXXXXXXXXXXXXXXXXXXXXXXXXX.mkv
       .
       .
       .
       XXXXXXXXXXX.S01.Ep20 ZZZZZZZZZZZZZZZZZZZZZZZZZ.mkv

where XXXX,YYY,MMM,NNNN,ZZZZ can be anything #:-s
so normally you should copy name part (without extension) of movie files and rename matching .srt file and paste the copied name. doing this for over 100 movie file is overwhelming!!!
now using this little useful application you will fill fields like this:

Field Value
Source Match Pattern s\d{2,};e\d{2,}
Target Match Pattern s\d{2,};ep\d{2,}
Source Dedicated Pattern mkv
Target Dedicated Pattern srt
Folder F:\TV\Lost


The screen will be something like this:

image

now just hit the “Rename” button, all overwhelming rename will be done in less than 5 seconds Winking smile
 
Now, lets see what’s the meaning of patterns:
Match patterns will indicate which movie file is connected to which subtitle file.
In our example every movie filename has sXX and eYY and each subtitle filename has sXX and epYY, where XX is the season number and YY is episode number. so movie filename with s01 and e01 is connected to subtitle filename with s01 ep01. If you know about .Net Regular Expressions you will understand that Source and Target Match Patterns are indicating exactly this. (Note that source pattern are seperated by “;” and this is not a regular expression language element, this is a way my application determines how many patterns you are providing and these pattern should match their corresponding ones in target pattern, e.g. pattern 1 in Source should match pattern1 in target, ….)
Dedicated patterns will indicate how movie and subtitle files are different. The simple one in many cases is to use their extensions! (like in our example)
 
THIS PROJECT HAS MANY POTTENTIALS, I WILL BE HAPPY TO CO-OPERATE WITH ANY TALENTED DEVELOPER TO EXTEND IT Smile
any comments or suggestion will be helpful, thanks in advance!

Last edited Apr 10, 2011 at 10:01 PM by skywave, version 5