RE: Re: Batch rename in TortoiseSVN
From: franc walter <francwalter_at_gmx.net>
Date: Mon, 10 Nov 2014 06:29:51 -0800 (PST)
> On 09/11/2014 6:44 PM, franc walter wrote:
Oh yes! Thank you for this hint!
Did it then like this:
1. in Total Commander search for: *ä* *ö* *ü* *ß* | .svn .svn\
2. mark all folders in the list and copy the whole path (command can be found in Mark-menu)
3. in EditPadPro I use two tabs, one with the original path names and in other tab I search and replace Umlaute to their correspondent vocals (or ss for ß).
4. Add " at beginning and end (by Search Replace with Regex: ^ for beginngin and $ for end)
5. Adding many spaces to the first (orginal names with Umlauten) tab, by search $ (end of line) and replace with spaces, that I can open a column selection which is wide enough to put the second tab content in it.
6. Open a selection on the right of the first tabs lines, at least one space between the longest line and the beginning of the selection. Length of selection must be at least as long as longest line (see 5.)
7. Paste content of second tab.
8. Search for ^ (RegEx) and replace with svn rename (one space after rename).
9. Add a line break at last line and copy first tabs content.
10. Now it was not possible to run a batch file with this, I guess the encoding makes trouble, but not any problem, because I just open a dos box and paste my clipboard (first tab) into it.
11. Committing the renames of folders and now doing the same with all files, same way...
It took a while but would take much longer if done by hand and much more errors I guess.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
This is an archived mail posted to the TortoiseSVN Users mailing list.