Page 1 of 1

Rename files to put a hyphen in

PostPosted: Sat May 23, 2020 9:53 am
by gonzo
Hello,

I have over 1000 files like this below that have the work video at the end:

1941Video.mp4

I need to rename all so there is a hyphen between the name and the word video like this:

1941-Video.mp4

I just can't figure it out.

Please advise.

Re: Rename files to put a hyphen in

PostPosted: Sat May 23, 2020 12:41 pm
by therube
1:RegEx
Code: Select all
Match:  (.*)([Vv]ideo)$
Replace:  \1-Video

In any file name that ends in 'video',
match everything up to the word 'video',
then stick a dash between.

Re: Rename files to put a hyphen in

PostPosted: Sat May 23, 2020 4:28 pm
by gonzo
I guess I don't use the GUI for that?

Also is there a way to make the first letter lower case instead of uppercase?

Re: Rename files to put a hyphen in

PostPosted: Sun May 24, 2020 3:52 am
by trm2
Along with the RegEx provided,

Section #4: Case -
set to Lowercase

output becomes 1941-video.mp4

By the way, the BRU is the GUI. I believe you are referring to the criteria other than RegEx - but that is actually Section #1: RegEX in the criteria.
The BRC program is a separate program that is not GUI based, it is a command line utility. What is a GUI? - a user interface that allows you to interact
with the program graphically. BRC does not. So I am presuming that you meant that you don't have to use the other criteria that is not RegEx, but if
you want lowercase you have to use both.