Skip to content

Add ignore patterns to folder defaults #7428

Closed

Description

@Redsandro

It would be nice to input a default set of Ignore Patterns for newly added folders that you would otherwise manually apply to every share you add. E.g.:

Settings ➡️ Default Configuration ➡️ Edit Folder Defaults ➡️ Ignore Patterns

For example, I always add this by default. Sometimes I forget, causing certain peers to exceed their free disk space.

(?d).Trash-*
(?d).sync.ffs_db
(?d)tmp
node_modules
bower_components
lost+found
*.bak
*.delme

This template would then be copied to the added folder ignore patterns where it can be edited. A new installation of Syncthing could add some sane defaults for the user, or just leave it empty.

Activity

  1. added
    enhancement
    needs-triage
    on Mar 4, 2021
  2. Script-Mak3r commented on Mar 5, 2021

    @Script-Mak3r

    Just an FYI, but not something that I would think invalidates this feature request.
    You can use a separate, syncable text file that has your default ignore pattern, and reference that in the .stignore file using the #ignore syntax. For exact usage, see the documentation.

  3. removed
    needs-triage
    on Mar 27, 2021
  4. self-assigned this
    on Mar 27, 2021
  5. added 2 commits that reference this issue on Mar 28, 2021
    c309cad
    d649fc8
  6. bugith commented on Sep 10, 2021

    @bugith

    ...
    ...and reference that in the .stignore file using the #ignore syntax...

    You meant "#include" isn't it ?

  7. Script-Mak3r commented on Oct 4, 2021

    @Script-Mak3r

    You meant "#include" isn't it ?

    Yes, it seems so; I don't know what I was thinking.

  8. bugith commented on Oct 4, 2021

    @bugith

    ...I don't know what I was thinking.

    I bet surely include exclusions ;-)

  9. added this to the v1.19.0 milestone on Jan 18, 2022
  10. changed the title [-]add Ignore Patterns to Folder Defaults[/-] [+]Add ignore patterns to folder defaults[/+] on Jan 18, 2022
  11. added
    frozen-due-to-age
    on Mar 10, 2023
  12. locked and limited conversation to collaborators on Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementfrozen-due-to-age

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions