Add documentation for insensitive includes & excludes

This commit is contained in:
Johannes Hertenstein 2018-10-18 21:39:41 +02:00 committed by Alexander Neumann
parent 5fe6de219d
commit 8a97bb8661
2 changed files with 5 additions and 0 deletions

View File

@ -139,6 +139,7 @@ You can exclude folders and files by specifying exclude patterns, currently
the exclude options are:
- ``--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-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

View File

@ -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
`--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
===================