add stat-based include/exclude
Open
cmd: create
enhancement
filesystem
patterns
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 875
- Avg merge
- 11h 15m
- Merged PRs (30d)
- 192
Description
there are tickets about doing file size based exclusion: #902, jborg/attic#330
file size is a stat result attribute, so this is a special case of a stat-based rule.
also in stat result:
- timestamps: atime, ctime, mtime
- type and mode
- uid / gid
so we could add a mechanism to define inclusion / exclusion rules not only based on the file's path/name (as we already have), but also based on comparing stat attributes to given values.
Contributor guide
Assessment
This issue has not been assessed yet.