Page 1 of 1

Exclude files in history.xml or with xattr metadata

Posted: 14 Sep 2025, 15:22
by conker
hey guys,
i am using cli on linux to use filebot amc script.

how can i use:

Shell: Select all

none{ historic.f || f.metadata }
I tried it first to ignore files in history.xml only but it doesnt work:

Shell: Select all

--file-filter "none{ historic.f }" 
what i am doing wrong?

Re: Exclude files in history.xml or with xattr metadata

Posted: 14 Sep 2025, 16:29
by rednoah
Here's how the {historic} binding works:

Console Output: Select all

$ filebot -rename *.mkv --file-filter "none{ historic.f }" --log INFO
[MOVE] from [Alias.1x01.mkv] to [Alias - 1x01 - Truth Be Told.mkv]
$ filebot -rename *.mkv --file-filter "none{ historic.f }" --log INFO
No input files

Round 1: When processing Alias.1x01.mkv, { historic.f } has no value / no history and so the file is renamed.

Round 2: When processing Alias - 1x01 - Truth Be Told.mkv, { historic.f } has a value / a history and so the file is excluded from processing.



:!: In this example, if you were to copy / link files, then Alias.1x01.mkv remain in existence and would be processed repeatedly since it never has a history. A different approach would be necessary if you mean to select input files that have not yet been copied / linked.

:?: Are you by any chance copying / linking input files?