]> arthur.barton.de Git - bup.git/commitdiff
fix --strip-path (thanks to gevaerts)
authorRob Browning <rlb@defaultvalue.org>
Tue, 2 Jul 2019 00:57:51 +0000 (19:57 -0500)
committerRob Browning <rlb@defaultvalue.org>
Tue, 2 Jul 2019 00:57:51 +0000 (19:57 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Documentation/bup-save.md

index 73f1ae098c2b5ba0f752f775a24687abea8f4cad..3c5671e38455f0feca4df605f63794d5a4025474 100644 (file)
@@ -104,10 +104,11 @@ handling of metadata.
 :   strips the given path prefix *path-prefix* from all
     files and directories.
     
-    A directory */root/chroot/webserver* saved with "bup save -n
-    webserver \--strip-path=/root/chroot" would be saved as
-    */webserver/etc*.  Note that currently, metadata will not be saved
-    for the root directory (*/*) when this option is specified.
+    A directory */root/chroot/webserver/etc* saved with "bup save -n
+    webserver \--strip-path=/root/chroot /root/chroot/webserver/etc"
+    would be saved as */webserver/etc*.  Note that currently, metadata
+    will not be saved for the root directory (*/*) when this option is
+    specified.
     
 \--graft=*old_path*=*new_path*
 :   a graft point *old_path*=*new_path* (can be used more than