Frustrated renaming
Posted: 21 Jun 2016, 22:15
I'm trying to mass rename files and it seems to be giving me a particularly tricky time due to the nature of some of way the files are named. However, this setup works in small numbers but say greater than 50 folders/files it just gums up if I press skip, enter in a name or otherwise don't do it exactly like it says. I've even tried moving the problematic folders/files out of the huge folder I'm doing and it just seems to keep finding seemingly random ones to pick up making the point of automating it (easier) much harder. So I tried to do CLI but it seems to hate me
here is the batch script i am using, i have tried not using a batch script and it gives the same issue:
as a test,"filebot -script fn:renall "D:/movies/" --def target=folder --action test --log info" does work I just don't understand why adding in format would mess everything up and it's pretty vital I keep that format. Any help would be greatly appreciated as my Kodi library and general OCDness have been showing two files or not showing them at all.

here is the batch script i am using, i have tried not using a batch script and it gives the same issue:
Code: Select all
filebot -script fn:renall "D:/movies/" --db TheMovieDB --format "{n.upperInitial().space('.').replaceAll(/[,()]+/).replaceAll(/\.-\./,'.')}{".$y"}{".Part.$pi"}{(dim[1]>480 && dim[0]==1280) ? '.720p' : dim[1]>720 && dim[0]==1920)? '.1080p' : null}{".$source"}{"."+ac.match(/DTS/)}{".$vc"}{'-'+fn.replaceAll(/$n/,n.replaceAll(/[-]/,'.')).match(/(?:(?<=[-])(?!(cd|CD)[0-9]+)\w+$)|(?:^(?!(cd|CD)[0-9]+)[A-Za-z0-9]+(?=[-]))|(?:(?<=^[\[])[^\]]+(?=[\]]))|(?:(?<=[\[])[^\]]+(?=[\]]$))/)}-{group}" --def target=folder --action test --log info