Invalid usage: The --output folder option is required

Support for Windows users
Post Reply
rrands1
Posts: 4
Joined: 04 Dec 2021, 00:03

Invalid usage: The --output folder option is required

Post by rrands1 »

hi all - I have been using Filbot for several years, but recently I am encountering an error, and I have not been able to fix it. I invoke filebot from uTorrent, and here is my command line that runs when a torrent finishes:

Shell: Select all

"C:\Program Files\FileBot\filebot.launcher.exe" -script fn:amc --action move -non-strict -no-xattr --log-file "F:\InProcessTorrents\amc.log" --filter "any{episode; age < 9092}{true}" --def "@F:/InProcessTorrents/amc_args.txt" "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
And here is what is in my AMC_Args.txt:

Shell: Select all

unsorted=n
music=n
artwork=n
extras=n
skipExtract=y
clean=y
seriesFormat=F:/TV Shows/{n.sortName('$2, $1').replaceTrailingBrackets()}/{s00e00} {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’?]/, "'").lowerTrail()}
movieFormat=F:/Movies/{n.sortName('$2, $1').lowerTrail()} ({y}) {vf} {ac.replace('AC3','DD')}{af.replace('6ch','5.1').replace('2ch','2.0')}


Torrents download to f:\InProcessTorrents, and then should move to either f:\Movies or f:\TV Shows, depending on type. Lately, though, the torrents are not moving, and I see this in the log file:

Code: Select all

Run script [fn:amc] at [Sat Apr 26 20:02:24 MST 2025]
Parameter: unsorted = n
Parameter: music = n
Parameter: artwork = n
Invalid usage: --def extras is not used and has no effect
Parameter: skipExtract = y
Parameter: clean = y
Parameter: seriesFormat = F:/TV Shows/{n.sortName('$2, $1').replaceTrailingBrackets()}/{s00e00} {t.replaceAll(/[!?.]+$/).replaceAll(/[`���?]/, "'").lowerTrail()}
Parameter: movieFormat = F:/Movies/{n.sortName('$2, $1').lowerTrail()} ({y}) {vf} {ac.replace('AC3','DD')}{af.replace('6ch','5.1').replace('2ch','2.0')}
Parameter: ut_label = 
Parameter: ut_state = 5
Parameter: ut_title = The.Amazing.Race.S37E08.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv
Parameter: ut_kind = single
Parameter: ut_file = The.Amazing.Race.S37E08.1080p.HEVC.x265-MeGusta[EZTVx.to].mkv
Parameter: ut_dir = F:\InProcessTorrents
Invalid usage: The --output folder option is required
Abort (×_×)



Any idea how to resolve this? Other than some version updates for uTorrent, I don't think I have changed anything.

Thank you for any help!!
User avatar
rednoah
The Source
Posts: 23922
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: filbot missing output directory

Post by rednoah »

Code: Select all

Invalid usage: The --output folder option is required
Abort (×_×)
:idea: Your filebot command does not include the --output folder option. The --output folder option is required and cannot be left unspecified nowadays.


:arrow: You'll want to add --output "F:" to your amc script command:

Shell: Select all

"C:\Program Files\FileBot\filebot.launcher.exe" -script fn:amc --output "F:" …



EDIT:

Answer from 2021 joins the chat. Looks like your solution was to remove --output entirely at some point. :lol:
rednoah wrote: 04 Dec 2021, 02:03 :arrow: The solution is to do F: or F:/Media instead:

Code: Select all

--output "F:"

Code: Select all

--output "F:/Media"
:idea: Please read the FAQ and How to Request Help.
rrands1
Posts: 4
Joined: 04 Dec 2021, 00:03

Re: Invalid usage: The --output folder option is required

Post by rrands1 »

That was it - thank you very much!
Post Reply