feat: Rename Baf to boring-backup
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user