Crop everything from before .HDTV

Post any Bulk Rename Command support requirements here. Open to all registered users.

Crop everything from before .HDTV

Postby F1-Junkie » Sat Dec 21, 2013 4:15 pm

Hi

I use BRU to clean up my file names, but I would like to set up a scheduled task to run and clean things up automatically. I have been Manually using BRU I crop before .HDTV and everything after .. then I replace the . with a space so I have clean file names.

I've been plumbing away at this for 3 hours and BRC just tells me that there is no change.

Before:
dads.birthday.party.HDTV.converted.mp4

After
dads birthday party.mp4

I can set the folder up n all that but I just *can't* seem to get the commandline to work properly :-(

Any help HUGELY appreciated!
F1-Junkie
 
Posts: 1
Joined: Sat Dec 21, 2013 4:06 pm

Match, Regex-Crop, then Replace

Postby truth » Sun Dec 22, 2013 1:07 am

The below 1st matches filenames with .HDTV. (even if ending as .HDTV.ext)
It then regex-crops at the final .HDTV and then converts all .'s -> Space's (final .ext left intact)
brc32 /pattern:*.HDTV.* /regexp:(.*).HDTV.*:\1 /ReplaceCI:.:" "

Just add /nofolders & /execute and you're good to go
If you need something more/less selective, just post back with details
truth
 
Posts: 221
Joined: Tue Jun 25, 2013 3:39 am
Location: Earth, OrionArm, MilkyWay


Return to BRC Support


cron