Page 1 of 1

Crop everything from before .HDTV

PostPosted: Sat Dec 21, 2013 4:15 pm
by F1-Junkie
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!

Match, Regex-Crop, then Replace

PostPosted: Sun Dec 22, 2013 1:07 am
by truth
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