Excluding folders from processing, but copy with film
Posted: 20 Sep 2016, 16:43
I've recently been obtaining extras for movies (bloopers, deleted scenes etc etc) and like to nest them in a folder called "Extras". Is it possible to have that folder be excluded from my naming, but copy into the same destination?
Here is my code:
I can't remember what exactly happens if I throw that at a folder that has Extras folder located in it. It either tried scraping or ignored it, I can't remember. Right now I send my downloads that contain an extras folder into a different directory and use powershell to copy JUST the film into my processing folder.
It's been a long night, please let me know if I need to explain better
Here is my code:
Code: Select all
filebot -script fn:renall "E:/Downloads/Movies" -non-strict -no-xattr --db TheMovieDB --format "D:/Videos/Movies/{n} {'('+fn.replaceAll(/(?i)directors|theatrical|extended|unrated|remastered|ultimate/, '$0 Cut').matchAll(/UNRATED.CUT|REMASTERED.CUT|ULTIMATE.CUT|EXTENDED.CUT|DIRECTORS.CUT|THEATRICAL.CUT/).join('][').upperInitial().lowerTrail()+')'} ({y}) ({source})/{n.colon(' ')} {'('+fn.replaceAll(/(?i)directors|theatrical|extended|unrated|remastered|ultimate/, '$0 Cut').matchAll(/UNRATED.CUT|REMASTERED.CUT|ULTIMATE.CUT|EXTENDED.CUT|DIRECTORS.CUT|THEATRICAL.CUT/).join('][').upperInitial().lowerTrail()+')'} ({y}){if (ext == 'srt') '.eng'}" --log-file "E:/Apps/Scripts/Media/Process.txt" > NUL 2>&1
It's been a long night, please let me know if I need to explain better
