Permalink
Browse files

Adds documentation for save's strip option.

Signed-off-by: Zoran Zaric <zz@zoranzaric.de>
  • Loading branch information...
1 parent c42da63 commit 239a3f1b9498776da7183632ccb58139d62b9e23 @zoranzaric zoranzaric committed with apenwarr Dec 6, 2010
Showing with 15 additions and 0 deletions.
  1. +15 −0 Documentation/bup-save.md
View
@@ -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

0 comments on commit 239a3f1

Please sign in to comment.