Skip to content

Per-directory sync exclusions #1558

@eigengrau

Description

@eigengrau

It would be a useful enhancement if sync exclusions could not only be specified globally, but also per directory. E.g., I often would like to ignore the intermediate output of my LaTeX-projects (*.out, *.run.xml, etc.). I cannot ignore these glob patterns globally, since they are also used by files which I would like to sync.

A possible solution would be to allow local .sync-exclude.lst files within folders. These exclusion lists would apply only to paths within and below the directory within which they are placed.

An alternative approach would keep the global exclusion list, but allow ** in glob patterns to match across subdirs recursively (same as the Bash “globstar”). E.g., this would allow specifying a pattern latex/**/*.out to match .out files only if they are somewhere beneath latex/.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions