From 239a3f1b9498776da7183632ccb58139d62b9e23 Mon Sep 17 00:00:00 2001 From: Zoran Zaric Date: Mon, 6 Dec 2010 13:00:04 +0100 Subject: [PATCH] Adds documentation for save's strip option. Signed-off-by: Zoran Zaric --- Documentation/bup-save.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/bup-save.md b/Documentation/bup-save.md index 9471474..0d15191 100644 --- a/Documentation/bup-save.md +++ b/Documentation/bup-save.md @@ -70,6 +70,21 @@ for `bup-index`(1). like k, M, or G to specify multiples of 1024, 1024*1024, 1024*1024*1024 respectively. +--strip +: strips the path that is given from all files and directories. + + A directory */root/chroot/etc* saved with + "bup save -n chroot --strip /root/chroot" would be saved + as */etc*. + +--strip-prefix=*path-prefix* +: strips the given path-prefix *path-prefix* from all + files and directories. + + A directory */root/chroots/webserver* saved with + "bup save -n webserver --strip-path=/root/chroots" would + be saved as */webserver/etc* + # EXAMPLE -- 2.39.2