mirror of
https://github.com/restic/restic.git
synced 2026-10-08 03:17:12 +00:00
tweak snapshot:subfolder docs
This commit is contained in:
1 parent
8154f6a77a
commit
55b440b520
3 files changed
+7
-7
No files matched your search
+1
-1
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user