Page 1 of 1

file filters are great but I have questions

Posted: 2020-07-08 20:46
by Chuckie
With file filters, is there a way to put more than one per line? Is there a limit on how many? Is there a method of adding them via text file?

Re: file filters are great but I have questions

Posted: 2020-07-08 22:08
by boco
With file filters, is there a way to put more than one per line?
Not sure what you mean. One line, one filter expression. You can associate multiple filters logically (AND, OR, NAND, NOR).
Is there a limit on how many?
The dev needs to answer that. Even if there is no hard limit, things might get slow with many filters.
Is there a method of adding them via text file?
Filters are saved in filters.xml - currently you cannot export or import them from the GUI. You need to work directly with filters.xml.

Re: file filters are great but I have questions

Posted: 2020-07-09 07:55
by botg
The limit on the amount of filters is your available memory. Performance impact scales linearly with the number of filters.

Re: file filters are great but I have questions

Posted: 2020-07-09 08:47
by Chuckie
I should have posted an example sorry. With the photo example I posted on this reply. When I clicked OK and Apply, it did take it. I didn't get an error. Some sites I don't need but certain file to check. The site is a bit over 800 gb. The files I need however are all over. Even doing a search recursively takes forever and since on certain ones get checked on certain days it is a tediously job and very time consuming no matter how I do it. But if this can be done it would help.

Re: file filters are great but I have questions

Posted: 2020-07-09 08:50
by Chuckie
Image sorry , was too fast on the trigger.

Re: file filters are great but I have questions

Posted: 2020-07-09 14:48
by boco
If you want to show only those files:
filter_onlyshow.jpg
filter_onlyshow.jpg (18.85 KiB) Viewed 2936 times

If you do not want to show the files:
filter_dontshow.jpg
filter_dontshow.jpg (19.56 KiB) Viewed 2936 times

In your example, the filename would literally have to end with ".lnk, .txt, .exe, .pdf". All characters are valid in filenames, even on Windows. As I said, one expression per line.