mirror of
https://github.com/octoleo/restic.git
synced 2024-11-11 07:41:03 +00:00
Improve wording
This commit is contained in:
parent
53656f019a
commit
29a5778626
@ -1,6 +1,6 @@
|
|||||||
Enhancement: Add negative patterns for include/exclude
|
Enhancement: Add negative patterns for include/exclude
|
||||||
|
|
||||||
If a pattern is prefixed by an exclamation mark and match a file that
|
If a pattern starts with an exclamation mark and it matches a file that
|
||||||
was previously matched by a regular pattern, the match is cancelled.
|
was previously matched by a regular pattern, the match is cancelled.
|
||||||
Notably, this can be used with `--exclude-file` to cancel the
|
Notably, this can be used with `--exclude-file` to cancel the
|
||||||
exclusion of some files.
|
exclusion of some files.
|
||||||
|
@ -289,7 +289,7 @@ On most Unixy shells, you can either quote or use backslashes. For example:
|
|||||||
* ``--exclude="foo bar star/foo.txt"``
|
* ``--exclude="foo bar star/foo.txt"``
|
||||||
* ``--exclude=foo\ bar\ star/foo.txt``
|
* ``--exclude=foo\ bar\ star/foo.txt``
|
||||||
|
|
||||||
If a pattern is prefixed by an exclamation mark and match a file that
|
If a pattern starts with exclamation mark and matches a file that
|
||||||
was previously matched by a regular pattern, the match is cancelled.
|
was previously matched by a regular pattern, the match is cancelled.
|
||||||
It works similarly to ``gitignore``, with the same limitation: once a
|
It works similarly to ``gitignore``, with the same limitation: once a
|
||||||
directory is excluded, it is not possible to include files inside the
|
directory is excluded, it is not possible to include files inside the
|
||||||
|
Loading…
Reference in New Issue
Block a user