Page 1 of 1

Dash and Space

Posted: 02 Sep 2009, 15:41
by bluish
Hi
My friend has salamander 2.5! Seems to be an incredible piece of software!
Is it possible that Salamander could do the following for me?
I have an external Hard Drive which holds Twenty Thousand AVI Files.
My intention when naming them was to have the following exact format.
Example: SF120 – 01 – YESTERDAY – THE BEATLES
Unfortunately there are many typing errors resulting in the following.
ExampleS! SF120-01-YESTERDAY – THE BEATLES
SF120-01 – YESTERDAY-THE BEATLES
SF120 - 01 - YESTERDAY-THE BEATLES

Can salamander fix the spacing in between the DASH so as the finish as the first example, for all of the files please?
If it is possible can you help?
Thank You

Re: Dash and Space

Posted: 02 Sep 2009, 15:56
by Jan Rysavy
Select all names and use the Plugins > Renamer > Batch Rename command with following settings:
Search for: "( *- *)|( *– *)" (without quotes)
Replace with: " - " (without quotes)
Turn on the Regular expression option.
Turn off the Only once in each name option.

Note: this will simply replace ALL dash characters (and surrounding spaces) with " - ".
So watch your files, there could be another dashes (for example in album name) you do not want to replace.

Note2: you have two different dash characters in your names, therefore the more complicated search for: "( *- *)|( *– *)"
renamer.png
renamer.png (43.35 KiB) Viewed 4001 times