Page 1 of 1

using the command line, how to refer to a custom format inside a text file

Posted: 24 Sep 2023, 06:41
by fireheart2008
so this doesn't work

filebot -rename -r "D:\Friends - S01E01.mkv" --format "C:\Program Files\FileBot\cmdlets\tv_shows.txt" -non-strict --mode interactive

Invalid format expression: C:\Program Files\FileBot\cmdlets\tv_shows.txt

Re: using the command line, how to refer to a custom format inside a text file

Posted: 24 Sep 2023, 07:20
by rednoah
The file path must end with *.groovy if you want this option value to be interpreted as external format file.


:arrow: Please read @file syntax › Option Value for details:

Shell: Select all

--format /path/to/MovieFormat.groovy

:!: If you're using *.txt files then you're likely using Notepad to edit them, which is problematic:
rednoah wrote: 07 Dec 2015, 07:17 DO NOT use Microsoft tools such as Notepad or Word to edit plain text files. They will add an invisible BOM marker at the beginning of the file. Use tools such as Notepad++ or Sublime Text to create and edit plain text files instead.