Skip to content

[Feature Request] Support extended-globs, automatically expand parent directories. #1591

@showhwa

Description

@showhwa

#1589

old:

[[backup.snapshots]]
sources = ["/"]
iglobs = [
"!*",

**"/A",**
"/A/**",

**"/B",**
**"/B/C",**
"/B/C/**",

**"/D",**
**"/D/E",**
**"/D/E/F",**
**"/D/E/F/G",**
"/D/E/F/G/**"
]

new:

[[backup.snapshots]]
sources = ["/"]
e-iglobs = [
"!*",

"@/A/**",

"@/B/C/**",

"@/D/E/F/G/**"
]

This is just a suggestion.
Of course, if there's a simple way to use globs without changing the code, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-triageStatus: Waiting for a maintainer to triage this issue/PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions