Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to exclude directories #504

Open
sparx82 opened this issue Nov 28, 2024 · 2 comments
Open

Option to exclude directories #504

sparx82 opened this issue Nov 28, 2024 · 2 comments
Labels
enhancement New feature or request scan Scan module

Comments

@sparx82
Copy link

sparx82 commented Nov 28, 2024

Which SIST2 component is your Feature Request related to?
Scan

Is your feature request related to a problem? Please describe.
No

What would you like to see happen?
I have certain directories which contain a very large amount of files which don't need to be scanned and indexed. It would be nice to have an option to exlucde certain directores within the general base path.

Additional context
N/A

@dpieski
Copy link
Contributor

dpieski commented Dec 26, 2024

You can already do that with the exclusions.
e.g. (/foo1/bar)|(/foo2/bar) will exclude the foo1/bar folder and the foo2/bar folder.

@sparx82
Copy link
Author

sparx82 commented Dec 27, 2024

Yes, I figured that out but I also have filetypes I whish to enclude and ended up with that:
(^.*\.(cr2|CR2|cr3|CR3|dng|DNG|epub|zip|ZIP|tar.gz|TAR.GZ|calibz|7z|7Z|nef|NEF|jpg|JPG|png|PNG|jpeg|JPEG)$)|(\/path\/to\/excludeddir\/.*)
which works but is not exactly convenient...

@shyyio shyyio added enhancement New feature or request scan Scan module labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scan Scan module
Projects
None yet
Development

No branches or pull requests

3 participants