by truth » Mon Mar 17, 2014 11:53 am
BRU wont reverse the OrigName|NewName behavior.
You would need to create a file with reversed text-lines as: NewName|OrigName
The following command creates such a file (non-Unicode only):
FOR /f "delims=| tokens=1,2" %a in (renames.txt) do @echo %b^|%a>>reverse.txt
For Unicodes, I prefer sed to automate such conversions:
SED -r "s/(.*)(\|)(.*)/\3\2\1/" renames.txt > reverse.txt