Filters key in preferences file

I just noticed, when creating a new repository (I had not created a new one for a long time), that there is a new filters key in the preferences file.

Can it be used with CLI or is it just for the web version? What is the syntax for using this key? Could it be the path to a filters file or should the filter parameters be placed directly?

It is for the CLI version and it must point to a file containing the patterns.

duplicacy set - Change the options for the default or specified storage

  -filters <file path>  specify the path of the filters file containing include/exclude patterns

With the -filters option, you can specify the path of the file containing include/exclude patterns rather than the default one ( .duplicacy/filters ).

1 Like

Thanks! I was looking at the filters page and the init command, I had forgotten about the set command.