Page 1 of 1

Conflicting Arguments

Posted: 22 Sep 2014, 01:26
by cheeseboy
So while cleaning out my home server I was smart enough to accidentally delete by filebot script. I'm in the process of recreating it but I'm running into some issues.

I had to update to 4.2 which fixed some of the errors however I'm still getting:

Conflicting arguments: pass in either file arguments or ut_dir/ut_file parameters but not both
Failure (°_°)

My script was much more complicated but in an attempt to debug it I stripped it back to what is essentially the barebones example:

Code: Select all

filebot -script \
    fn:amc \
    --output "$HOME/Enterprise" \
    --log-file amc.log 
    --action move 
    --conflict override -non-strict \
    --def "pushover=xxxxxxxxxxxxxxxx" \
    --def "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" 
    --def "ut_kind=multi" \
    --def "ut_title=$TR_TORRENT_NAME" \
Anyone able to shed some light?

Re: Conflicting Arguments

Posted: 22 Sep 2014, 04:06
by rednoah
Logs?

Question: Why NOT escape NEWLINE here?

Code: Select all

--log-file amc.log
--action move
But then DO escape NEWLINE everywhere else?

Code: Select all

--output "$HOME/Enterprise" \
I suppose the \ is there for a reason.