Page 1 of 1

How do I specify a custom format on the command-line?

Posted: 05 Oct 2022, 16:06
by Levaculik
I wanted to rename my files via terminal, but I'm having some problems getting it right.
as you can see in the image. it is renaming, but not by the configuration that I put. could someone help me.
Image

I'm using this configuration.

Code: Select all

for f in *.mkv ; do filebot "$f" -rename -r --db TheMovieDB::TV -non-strict --mode "{n.upperInitial().space(".")}.{vc}.{s00e00}.{t.space}(".").{vf}.CR.WEB-DL.{ac}{channels}.{vc.replace('AVC','x264')}.pt-BR.JPN-Levaculik" --lang English ;done

Re: help newbie in the area

Posted: 06 Oct 2022, 07:01
by rednoah
You mean to use the --format option to specify a custom format:
https://www.filebot.net/cli.html

Image



The --mode interactive option can be used to enable console-interactive mode:
viewtopic.php?t=4398

Image



You can use filebot -help or read the manpage if you need help with which option does what.