sist2 icon indicating copy to clipboard operation
sist2 copied to clipboard

Option to exclude directories

Open sparx82 opened this issue 2 years ago • 3 comments

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

sparx82 avatar Nov 28 '24 10:11 sparx82

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.

dpieski avatar Dec 26 '24 20:12 dpieski

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...

sparx82 avatar Dec 27 '24 04:12 sparx82

See https://github.com/sist2app/sist2/blob/master/docs/USAGE.md#excluding-files

shyyio avatar Jul 05 '25 23:07 shyyio