HDHome Run File Name Cleanup One Character

Bulk Rename Utility How-To's

HDHome Run File Name Cleanup One Character

Postby Bulky » Wed Dec 25, 2024 5:44 pm

Merry Christmas and Happy Coming New Year!

I use a OTA TV tuner to capture media. The filenames include a bunch of 'stuff' that makes my media managers not happy.

I have succeeded in getting it down quite a bit, but my OCD in me wants to get rid of the last space before the .extension.

I have this file format:
Call of the Wild 19851211 [20241222-2300].mpg

With using Remove (5) options set at Digits, D/S, Sym. and Crop after [ I can get it down to this:
Call of the Wild .mpg

That one space is a challenge. I thought I could check off Replace (3) by putting in [physical space].mpg with just .mpg and it would remove the [physical space], but nothing happens.

If I just put a [physical space] in the Replace (3) all the spaces go away. It's when I add the . for the extension, nothing changes. Not sure why the period is holding it up??
Bulky
 
Posts: 11
Joined: Wed Dec 25, 2024 5:34 pm

Re: HDHome Run File Name Cleanup One Character

Postby Bulky » Wed Dec 25, 2024 7:53 pm

Looks like this thread talked exactly about the space between the extension. Only neither solution works.

I think I am learning Bulk Rename cannot do both actions at the same time. I have read else where some people have asked for 'combined' actions. I know I can save two different executions to get the final result. Be nice to be able to combine Bru1 and Bru2 into some template so you only have to click once, rather than opening one, run it, opening another and run it.

Like a batch process. Some where I read RegEx might do what I desire, but that is a new realm for me. Not sure what the syntax would be to get my results.
Bulky
 
Posts: 11
Joined: Wed Dec 25, 2024 5:34 pm

Re: HDHome Run File Name Cleanup One Character

Postby Admin » Thu Dec 26, 2024 12:53 am

Hi, thank you for posting on the forum, Did you try the trim option in Remove (5)?
Admin
Site Admin
 
Posts: 2724
Joined: Tue Mar 08, 2005 8:39 pm

Re: HDHome Run File Name Cleanup One Character

Postby Bulky » Thu Dec 26, 2024 1:05 am

Thank you for your time and response.

Yes I did actually. It made no difference with the other switches turned on in that field (With using Remove (5) options set at Digits, D/S, Sym. and Crop after [

I had to save that change and then setup a new edit for it to remove that space.

I was hoping for one swoop to get the entire change done at once.
Bulky
 
Posts: 11
Joined: Wed Dec 25, 2024 5:34 pm

Re: HDHome Run File Name Cleanup One Character

Postby Admin » Thu Dec 26, 2024 1:11 am

Hi, you could remove the last space using Replace (3), and using the \last\ modifier (i.e. \last\[physical space] replaced with 'nothing'). You would need to change the order of operations with Special (14) -> order , to make sure the Remove (3) is the last operation.
Admin
Site Admin
 
Posts: 2724
Joined: Tue Mar 08, 2005 8:39 pm

Re: HDHome Run File Name Cleanup One Character

Postby Bulky » Thu Dec 26, 2024 2:14 am

Doesn't look like that is working.

Here is the filename:

"A Christmas With Sir John Rutter at Preston Hollow 20241201 [20241226-0000].mpg"

Goal is to get rid of everything from Hollow to the extension. So that the end result is "A Christmas With Sir John Rutter at Preston Hollow.mpg"

I changed the Order so that Remove is operation 4 and Replace is operation 5

Remove Crop - After with a "space"[
Digits, D/S and Sym are checked
Trim is checked with Lead Dots .

Replace {space}{period} The period comes before the extension.
I've tried a {space} and nothing in the With box. For that matter any character I put in the With box does nothing to the result.

With these settings the return filename is "A Christmas With Sir John Rutter at Preston Hollow .mpg" IE. the {space} is before the extension.

The Replace option on or off makes no difference. If I leave off the period in replace, I get "AChristmasWithSirJohnRutteratPrestonHollow.mpg"
Bulky
 
Posts: 11
Joined: Wed Dec 25, 2024 5:34 pm

Remove: ' digits [digits-digits]' from end

Postby Luuk » Thu Dec 26, 2024 2:41 am

With RegEx(1) having the 'v2' checkmark, the "Match" can be like...
\ \d+ \[\d+-\d+\]$
Luuk
 
Posts: 784
Joined: Fri Feb 21, 2020 10:58 pm

Re: HDHome Run File Name Cleanup One Character

Postby Bulky » Thu Dec 26, 2024 2:49 am

Picture is a thousand words!

A Christmas With Sir John Rutter at Preston Hollow.mpg

Worked like a charm. This program is definitely purchasing after this support and success.

Pulling up the donation page now. Thank you all.
Bulky
 
Posts: 11
Joined: Wed Dec 25, 2024 5:34 pm

Re: HDHome Run File Name Cleanup One Character

Postby Bulky » Thu Dec 26, 2024 2:53 am

Ahh. My card type is not accepted. I'll look into other options.
Bulky
 
Posts: 11
Joined: Wed Dec 25, 2024 5:34 pm


Return to How-To