#1 2016-07-26 22:40

Team503
Member
Registered: 2016-07-26
Posts: 2

How to rename files from "Movie, The" to "The Movie"?

I'm assuming its some kind of Pascal Script, but I really don't want to learn a whole language just to do a single reformat of my naming schema.  Can anyone help?

Offline

#2 2016-07-26 22:53

Team503
Member
Registered: 2016-07-26
Posts: 2

Re: How to rename files from "Movie, The" to "The Movie"?

Strike that, found it:

http://www.den4b.com/forum/viewtopic.php?id=603
(Rename "the man.jpg" to "Man, The.jpg")

Offline

#3 2016-07-27 14:58

kunkel321
Member
From: Washington State
Registered: 2012-09-01
Posts: 38

Re: How to rename files from "Movie, The" to "The Movie"?

Yea, I think the "Rearrange" command would be easiest.  Otherwise, a regex would probably work.

Offline

#4 2016-07-29 12:21

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

Re: How to rename files from "Movie, The" to "The Movie"?

For future reference, this can be achieved with any one of the following rules:

Replace: Replace using wildcards "*, The" with "The $1" (skip extension)

OR

Rearrange: Split by exact pattern of delimiters ", The", New pattern "The $1$2" (skip extension)

OR

RegEx: Replace expression "\A(.*), The\Z" with "The $1" (skip extension)

However, it's important to note that the RegEx rule will operate only if ", The" part appears at the end of the file name, unlike alternative rules.

Offline

Board footer

Powered by FluxBB