diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-18 14:28:15 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-18 14:28:15 -0500 |
commit | 168655fec6b8ba0ea9cda56c6aa5fbdaa6e3b593 (patch) | |
tree | 34523057d44008627db781c7ceac23ce57d82508 | |
parent | c2ea9879b8717e3a761463931475129aef209514 (diff) | |
download | squashfu-168655fec6b8ba0ea9cda56c6aa5fbdaa6e3b593.tar.gz |
Add remove bin option to usage heredoc and options parser
-rwxr-xr-x | squashfu | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -387,6 +387,10 @@ ACTIONS Create a new squash by merging old bins. This will still leave you with $MIN_BINS backups (as per the MIN_BINS setting in your config). + -D <bin number> + Delete an incremental backup. This is done interactively and you will have + a chance to confirm before any files are deleted. + -Q Displays the size of the seed, the incrementals, and totals. @@ -410,12 +414,14 @@ HELP [[ -z $1 ]] && ( usage; exit 1; ) -while getopts :BCQR:Uc: opt; do +while getopts :BCD:QR:Uc: opt; do case $opt in B) action=backup ;; C) action=resquash_now ;; + D) + action="remove_bin $OPTARG" ;; Q) action=report ;; R) |