-
|
Here Byron/dua-cli#312 i asked support for glob patterns so that user can use the same restic exclude/ignore files and run it through dua to answer questions such as
It would be awesome if dua can use same glob patters as restic. Seeing that rustic and dua is in rust, if rustic has same glob pattern as restic, dua can use the same library that rustic uses. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @KAGEYAM4 Note that we plan to overwork includes/excludes as there are issues about them being sometimes difficult to set-up. If you want to see how the current glob patterns work, there is a support for using |
Beta Was this translation helpful? Give feedback.
Hi @KAGEYAM4
The glob pattern - and exclude/include support generally - rustic currently uses are from the
ignorecrate, which is e.g. used in theripgrepcommand.This is not syntax-identical to what
resticuses - and even the CLI-options differ to make this clear.Note that we plan to overwork includes/excludes as there are issues about them being sometimes difficult to set-up.
If you want to see how the current glob patterns work, there is a support for using
rustic lson a local dir and to specify globs. This is available in the the nightly builds and will be in the upcoming 0.11.0 version.