File Renaming
Posted: Tue Jul 30, 2019 9:23 pm
I'm certain this is a dumb question but I've been struggling with it.
I have a workflow that will take various formats in and create different encodes based on them.
I'd like to replace some values in the original filename for the resulting encodes but am not sure the best way to to go about it.
The input names have values like:
FilmsMan_TestingNames_203_RUS_f2398_UHD_239.mov
NewPalPost_HistoryOfTheShowName_ENG_f25_UHD_1237.mov
OldPalShows_OurVideoShow_ep12_f25_SD_404_1986.mov
The output filenames will need to be changed according to the encodes performed_(f\d+)_ to f2997 for example. _(UHD)_ to HD etc. This wouldn't be so bad with append and using variables, the issue i'm having is that I need to capture the number string at the end first, and replace it afterwards. _(239).mov, _(1237).mov etc.
Any ideas what nodes I should investigate for this?
Any help pointing me down the right path is greatly appreciated.
I have a workflow that will take various formats in and create different encodes based on them.
I'd like to replace some values in the original filename for the resulting encodes but am not sure the best way to to go about it.
The input names have values like:
FilmsMan_TestingNames_203_RUS_f2398_UHD_239.mov
NewPalPost_HistoryOfTheShowName_ENG_f25_UHD_1237.mov
OldPalShows_OurVideoShow_ep12_f25_SD_404_1986.mov
The output filenames will need to be changed according to the encodes performed_(f\d+)_ to f2997 for example. _(UHD)_ to HD etc. This wouldn't be so bad with append and using variables, the issue i'm having is that I need to capture the number string at the end first, and replace it afterwards. _(239).mov, _(1237).mov etc.
Any ideas what nodes I should investigate for this?
Any help pointing me down the right path is greatly appreciated.