mirror of
https://github.com/restic/restic.git
synced 2025-10-09 07:33:53 +00:00
tweak snapshot:subfolder docs
This commit is contained in:
@@ -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:
|
||||
|
||||
|
@@ -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