tweak snapshot:subfolder docs

This commit is contained in:
Michael Eischer committed 2023-07-22 23:50:17 +02:00
1 parent 8154f6a77a
commit 55b440b520
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -452,7 +452,7 @@ and displays a small statistic, just pass the command two snapshot IDs:
Removed: 16.402 MiB
To only compare files in specific subfolders, you can use the ``<snapshot>:<subfolder>``
syntax, where ``snapshot`` is the ID of a snapshot or ``latest`` and ``subfolder``
syntax, where ``snapshot`` is the ID of a snapshot (or the string ``latest``) and ``subfolder``
is a path within the snapshot. For example, to only compare files in the ``/restic``
folder, you could use the following command:
+2 -2
View File
@@ -49,8 +49,8 @@ files in the snapshot. For example, to restore a single file:
This will restore the file ``foo`` to ``/tmp/restore-work/work/foo``.
To only restore a specific subfolder, you can use the ``<snapshot>:<subfolder>``
syntax, where ``snapshot`` is the ID of a snapshot or ``latest`` and ``subfolder``
is a path within the snapshot.
syntax, where ``snapshot`` is the ID of a snapshot (or the string ``latest``)
and ``subfolder`` is a path within the snapshot.
.. code-block:: console