Exclude files in history.xml or with xattr metadata

Any questions? Need some help?
Post Reply
conker
Posts: 1
Joined: 14 Sep 2025, 15:12

Exclude files in history.xml or with xattr metadata

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

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

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