]> arthur.barton.de Git - bup.git/commit - lib/bup/t/thelpers.py
Adds a strip and strip-path option to bup save.
authorZoran Zaric <zz@zoranzaric.de>
Mon, 6 Dec 2010 12:00:02 +0000 (13:00 +0100)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 3 Jan 2011 04:52:33 +0000 (20:52 -0800)
commit0025c8d392f4a4f7c17aafe4aa45fedd9b9c616c
tree90af6bb4c9d3cde33048632e5de28a86336116b4
parent376d069309a64ef5162ca3aa974072d6d326f90f
Adds a strip and strip-path option to bup save.

If the strip option is given bup uses all given filenames as base paths
and tries to stripe them from long to short.

If the strip-path option is given bup strip the given prefix from all
paths.

Signed-off-by: Zoran Zaric <zz@zoranzaric.de>
cmd/save-cmd.py
lib/bup/helpers.py
lib/bup/t/thelpers.py