It would be nice for the ease of maintenance if all inclusions and exclusions could be specified in an arry.
Example:
# If one or more of the targets contain a space, use the array:
# declare -a BM_TARBALL_TARGETS
BM_TARBALL_TARGETS[0]="/boot/grub"
BM_TARBALL_TARGETS[1]="/etc"
# And so on
export BM_TARBALL_TARGETS
# Files to exclude when generating tarballs, you can put absolute
# or relative paths, Bash wildcards are possible.
#export BM_TARBALL_BLACKLIST="/var/archives /boot/grub/*stage*"
# This doesn't work but it would be nice if it would:
# BM_TARBALL_BLACKLIST[0]="/var/archives"
# BM_TARBALL_BLACKLIST[1]="/boot/grub/*stage*"
# And so on
It would be nice for the ease of maintenance if all inclusions and exclusions could be specified in an arry.
Example:
# If one or more of the targets contain a space, use the array:
# declare -a BM_TARBALL_TARGETS
BM_TARBALL_TARGETS[0]="/boot/grub"
BM_TARBALL_TARGETS[1]="/etc"
# And so on
export BM_TARBALL_TARGETS
# Files to exclude when generating tarballs, you can put absolute
# or relative paths, Bash wildcards are possible.
#export BM_TARBALL_BLACKLIST="/var/archives /boot/grub/*stage*"
# This doesn't work but it would be nice if it would:
# BM_TARBALL_BLACKLIST[0]="/var/archives"
# BM_TARBALL_BLACKLIST[1]="/boot/grub/*stage*"
# And so on
Thanks for the nice program.