forked from TrueCloudLab/restic
Add documentation for insensitive includes & excludes
This commit is contained in:
parent
5fe6de219d
commit
8a97bb8661
2 changed files with 5 additions and 0 deletions
|
@ -139,6 +139,7 @@ You can exclude folders and files by specifying exclude patterns, currently
|
||||||
the exclude options are:
|
the exclude options are:
|
||||||
|
|
||||||
- ``--exclude`` Specified one or more times to exclude one or more items
|
- ``--exclude`` Specified one or more times to exclude one or more items
|
||||||
|
- ``--iexclude`` Same as ``--exclude`` but ignores the case of paths
|
||||||
- ``--exclude-caches`` Specified once to exclude folders containing a special file
|
- ``--exclude-caches`` Specified once to exclude folders containing a special file
|
||||||
- ``--exclude-file`` Specified one or more times to exclude items listed in a given file
|
- ``--exclude-file`` Specified one or more times to exclude items listed in a given file
|
||||||
- ``--exclude-if-present`` Specified one or more times to exclude a folders content
|
- ``--exclude-if-present`` Specified one or more times to exclude a folders content
|
||||||
|
|
|
@ -52,6 +52,10 @@ You can use the command ``restic ls latest`` or ``restic find foo`` to find the
|
||||||
path to the file within the snapshot. This path you can then pass to
|
path to the file within the snapshot. This path you can then pass to
|
||||||
`--include` in verbatim to only restore the single file or directory.
|
`--include` in verbatim to only restore the single file or directory.
|
||||||
|
|
||||||
|
There are case insensitive variants of of ``--exclude`` and ``--include`` called
|
||||||
|
``--iexclude`` and ``--iinclude``. These options will behave the same way but
|
||||||
|
ignore the casing of paths.
|
||||||
|
|
||||||
Restore using mount
|
Restore using mount
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue