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

All about user-defined episode / movie / file name format expressions
Post Reply
fireheart2008
Posts: 37
Joined: 29 Jul 2014, 05:39

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

Post 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
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply