diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 951f65a4c..82b066764 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -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 diff --git a/doc/050_restore.rst b/doc/050_restore.rst index e602c7e8a..f5d584042 100644 --- a/doc/050_restore.rst +++ b/doc/050_restore.rst @@ -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 ===================