#1 2016-09-23 23:34

rickyricky
Member
Registered: 2016-09-23
Posts: 7

Switch Folder Value Names Using ReNamer

I am trying to sort and/or copy folders and filenames under Windows 10. I am using a third-party software called ReNamer, which allows me to rename the folder however I want. I have two folders, called [AnyName1] AnyName2 and [AnyName3] AnyName 4. Is there anyway I could sort them so that it is arranged like this [AnyName2] AnyName1 and AnyName4 [AnyName3].

I want to be able to switch any name with the brackets with the one without the brackets. In addition, I want to be able to transform them by removing the brackets as well as adding by between the two names. Such as this:

AnyName 4 by AnyName 3


So far, I cam up with this: Replace expression "\A[(.?)](.)\Z" with "$2 by $1" (skip extension)


But it only lets me switch out with if the folders are only letters, not any name/string of the file. I want to be able to switch the words around regardless on how long they are each.


ReNamer Help

Offline

#2 2016-09-23 23:55

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,374

Re: Switch Folder Value Names Using ReNamer

You could use the following rules:

1) Regular Expressions: Replace expression "\A\[(.*?)\](.*)\Z" with "$2 by $1" (skip extension)
2) Clean Up: Fix spaces (skip extension)

It will work like so:

[AnyName1] AnyName2	-> 	AnyName2 by AnyName1
[AnyName3] AnyName4	-> 	AnyName4 by AnyName3
[The] Knocks	-> 	Knocks by The

Offline

#3 2016-09-24 00:10

rickyricky
Member
Registered: 2016-09-23
Posts: 7

Re: Switch Folder Value Names Using ReNamer

Thanks for the reply but it still doesn't do anything for me.


Doesn't Work

Offline

#4 2016-09-24 00:12

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,374

Re: Switch Folder Value Names Using ReNamer

rickyricky wrote:

Thanks for the reply but it still doesn't do anything for me.

You need to remove the double quotes from the expression and replacement pattern.

Offline

#5 2016-09-24 00:29

rickyricky
Member
Registered: 2016-09-23
Posts: 7

Re: Switch Folder Value Names Using ReNamer

Okay now it works thanks.

Now what if I wanted it like this [AnyName4] AnyName3?

And if I wanted to revert them back?

Offline

#6 2016-09-24 00:51

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,374

Re: Switch Folder Value Names Using ReNamer

rickyricky wrote:

Now what if I wanted it like this [AnyName4] AnyName3?

And if I wanted to revert them back?

Change the replacement pattern to "[$2] $1".

Offline

#7 2016-09-24 00:55

rickyricky
Member
Registered: 2016-09-23
Posts: 7

Re: Switch Folder Value Names Using ReNamer

Thank you.

Offline

Board footer

Powered by FluxBB