Page 1 of 1

CLI - Multiple CDs

Posted: 30 Jan 2013, 10:53
by faniedry
Hi There,

I'm trying to use the housekeeping.groovy script for renaming my movies, but I can't get the multiple CD parameter working.

This is my command and the error I get:

Code: Select all

filebot -script c:\scripts\housekeeping.groovy -extract -rename /Downloads/Movies/ --output /Downloads/Movies/ --format "Movies/{n} {y}/{n}({y}){" CD$pi"}" --db TheMovieDB
Press ENTER to abort
Exception in thread "Thread-3" org.codehaus.groovy.runtime.InvokerInvocationException: java.io.FileNotFoundException: C:\Program Files\FileBot\CD$pi}
It seems as if the quotations (" ") are in the wrong place.

Thanks in advance for any help ;)

Re: CLI - Multiple CDs

Posted: 30 Jan 2013, 10:59
by rednoah
Having a quick look I guess you're struggling with cmd arguments parsing and how to get things passed in correctly, i.e. escaping all the " in the format expression => Try \"

e.g. "This is a \"test\"" should pass this sentence as one argument and with the "test" intact.
http://filebot.sourceforge.net/forums/v ... 445&p=2936

[Solved] Re: CLI - Multiple CDs

Posted: 30 Jan 2013, 13:12
by faniedry
O wow, I should've known that, rookie mistake! :oops:

Thanks for the help!!