Have a great script (thanks to help here) which takes a file I have derives a name and moves to a new folder. What I would like to automate is to copy an image from a static location into that folder.
Any advice how to do that would be appreciated.
Existing rename code below...
Code: Select all
filebot.exe -rename -r D:\EPL --db file --format "{ def m = (file.path =~ /(\w+).(\d{4}.\d{2}.\d{2}).(.+?).\d{3,4}p.+/)[0]; def s = m[1]; def d = m[2]; def t = d + ' - ' + m[3].space(' '); s / t / t}" --output D: