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

Rule suddenly scanning excluded directory #339

Closed
zeitchef opened this issue Jan 11, 2024 · 2 comments
Closed

Rule suddenly scanning excluded directory #339

zeitchef opened this issue Jan 11, 2024 · 2 comments
Labels
bug v3 Issues with version 3.x

Comments

@zeitchef
Copy link

zeitchef commented Jan 11, 2024

Before upgrading to v3, I had a rule that would scan my system for pesky .DS_Store files and delete them - excluding ~/Library. Since upgrading and with no change to the rule, ~/Library is being scanned as well which takes a lot of time.

  • OS: macOS 14.2.1
  • Output of organize --version: v3.0.0

Here is the relevant rule config:

rules:
  # Delete .DS_Store files
  - name: 'Delete .DS_Store files'
    locations:
      - path: '~/'
        exclude_dirs: ['Library', 'Dropbox', '.Trash', 'Pictures']
        system_exclude_dirs: 
          ['.git', 'node_modules', '.docker', '.local', '.archive']
    subfolders: true
    filters:
      - name: .DS_Store
    actions:
      - delete
@zeitchef zeitchef added the bug label Jan 11, 2024
@tfeldmann tfeldmann added the v3 Issues with version 3.x label Jan 12, 2024
@tfeldmann
Copy link
Owner

tfeldmann commented Jan 12, 2024

Thank you for reporting this issue! This should be fixed now. I'll release the new version as soon as possible.

tfeldmann added a commit that referenced this issue Jan 12, 2024
@tfeldmann
Copy link
Owner

The fix is released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug v3 Issues with version 3.x
Projects
None yet
Development

No branches or pull requests

2 participants