3 bup_python="$(dirname "$0")/bup-python" || exit $?
4 exec "$bup_python" "$0" ${1+"$@"}
8 from __future__ import absolute_import
11 from bup.git import check_repo_or_die
12 from bup.options import Options
13 from bup.helpers import die_if_errors, handle_ctrl_c, log
14 from bup.repo import LocalRepo
15 from bup.rm import bup_rm
18 bup rm <branch|save...>
20 #,compress= set compression level to # (0-9, 9 is highest) [6]
21 v,verbose increase verbosity (can be specified multiple times)
22 unsafe use the command even though it may be DANGEROUS
28 opt, flags, extra = o.parse(sys.argv[1:])
31 o.fatal('refusing to run dangerous, experimental command without --unsafe')
34 o.fatal('no paths specified')
38 bup_rm(repo, extra, compression=opt.compress, verbosity=opt.verbose)