From: Zoran Zaric Date: Mon, 6 Dec 2010 12:00:04 +0000 (+0100) Subject: Adds documentation for save's strip option. X-Git-Tag: bup-0.21-rc1^4~6 X-Git-Url: https://arthur.barton.de/gitweb/?p=bup.git;a=commitdiff_plain;h=239a3f1b9498776da7183632ccb58139d62b9e23 Adds documentation for save's strip option. Signed-off-by: Zoran Zaric --- 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