Include / Execlude some Folders
Closed this issue · 2 comments
0ssamaak0 commented
In windows version, Everything
by default gets all image
from config.yaml
user can use include_folders
/ exclude_folders
to manage this.
Implementation
There're 2 suggested approaches
- get all images from
everything_images.py
and later add/remove according to given dirs (slower) - Everything itself has this functionality, but we have to explore the SDK to see how to this
marshal-dteach commented
@0ssamaak0 I would like to work on this, can you assign this issue to me?
0ssamaak0 commented
yeah ofc, I assigned you.
I also updating config.yaml
to contain the followign settings
# config.yaml
# Folders settings: Select folders to include / exclude for indexing
include_folders:
- all # default (Comment this if you want to specify folders)
# - path/to/folder1
# - path/to/folder2
exclude_folders:
# - path/to/folder1
# - path/to/folder2
and imported them in everything_images
- please check
Everything SDK
to check how to index by including and excluding, don't filter in python file unless there's no way withEverything SDK
- handle the
all
case as the default case
Thank you very much for help!