feat: Rename Baf to boring-backup

This commit is contained in:
ge
2022-05-16 22:30:18 +03:00
parent 19cbe28aac
commit 37581ae961
3 changed files with 29 additions and 23 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# bafscript -- backup automation micro-framework.
# boring-backup -- backup automation micro-framework and library.
# Copyright (c) 2022 ge <https://nixhacks.net/>
#
# This program is free software: you can redistribute it and/or modify
@ -25,8 +25,8 @@ __tar_options='-acf'
__tar_compression='gzip'
__name_date_fmt='_%Y%m%d-%H%M'
if [ -n "$BAFLIB" ]; then
__library="$BAFLIB"
if [ -n "$BBLIB" ]; then
__library="$BBLIB"
else
__library='./lib'
fi
@ -40,7 +40,7 @@ print_help() {
cat <<- EOF
Backup files and databases.
Usage: $0 [-cvlhV] ARGUMENTS..
Usage: $0 [-cvlhV] FILES..
Options:
-c, --config config file.
@ -50,7 +50,7 @@ Options:
-V, --version print version and exit.
Environment:
BAFLIB path to baf library [current: $__library]
BBLIB path to bb library [current: $__library]
EOF
}