2
0
Эх сурвалжийг харах

Merge pull request #5238 from fantasya-pbem/docs/5193_Recreate-exclude-if-present

docs: clarify --exclude-if-present in recreate, #5193
TW 5 жил өмнө
parent
commit
5b5bd9f7f2
1 өөрчлөгдсөн 4 нэмэгдсэн , 3 устгасан
  1. 4 3
      src/borg/archiver.py

+ 4 - 3
src/borg/archiver.py

@@ -4092,9 +4092,10 @@ class Archiver:
 
         Important: Repository disk space is **not** freed until you run ``borg compact``.
 
-        ``--exclude``, ``--exclude-from``, ``--exclude-if-present``, ``--keep-exclude-tags``, and PATH
-        have the exact same semantics as in "borg create". If PATHs are specified the
-        resulting archive will only contain files from these PATHs.
+        ``--exclude``, ``--exclude-from``, ``--exclude-if-present``, ``--keep-exclude-tags``
+        and PATH have the exact same semantics as in "borg create", but they only check
+        for files in the archives and not in the local file system. If PATHs are specified,
+        the resulting archives will only contain files from these PATHs.
 
         Note that all paths in an archive are relative, therefore absolute patterns/paths
         will *not* match (``--exclude``, ``--exclude-from``, PATHs).