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

autotag for dirs only tags the first definition #55

Closed
mathse opened this issue Jan 30, 2019 · 4 comments
Closed

autotag for dirs only tags the first definition #55

mathse opened this issue Jan 30, 2019 · 4 comments

Comments

@mathse
Copy link
Contributor

mathse commented Jan 30, 2019

i created the following autotag definition

dirs = [{"name":["*tmp*","*TMP*","*temp*","*TEMP*","*Temp*","*cache*","*CACHE*","*Cache*","*to*delete*"],"name_exclude":["*emperatur*","*emplate*"],"path":[],"path_exclude":[],"mtime":90,"atime":0,"ctime":90,"tag":"delete","tag_custom":"autotag"},{"name":["*FORMER*LAB*MEMBERS*"],"name_exclude":[],"path":[],"path_exclude":[],"mtime":0,"atime":0,"ctime":0,"tag":"archive","tag_custom":"autotag"}]

but the autotagger only tags the first definition

@shirosaidev
Copy link
Collaborator

So directories with *FORMER*LAB*MEMBERS* in their names are not getting tagged at all?

@shirosaidev
Copy link
Collaborator

can you reply with an example full path directory that is not getting tagged? Are you restarting the bots after editing the diskover.cfg tags ?

@shirosaidev
Copy link
Collaborator

currently autotag does not support wildcard character * in middle of name or path. Wildcard can only be at beginning, end or beginning and end.

@mathse
Copy link
Contributor Author

mathse commented Jan 31, 2019

ahhhh...
the folder is called 'FORMER LABMEMBERS'
no wonder its not getting tagged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants