Open a200612 opened 8 years ago
I'm experiencing the same issue :+1: Didn't found any way yet to do that…
Like this: /home/me/dir?with?spaces
. The ?
is expanded by the shell to match any character, including a space.
HOWEVER this appears to expose another bug, at least in the slightly old version packaged in Fedora; I've submitted a patch at https://bugzilla.redhat.com/show_bug.cgi?id=1656423 and will submit is as a PR here soon, if it's not already in fixed.
It may work with this syntax:
declare -a BM_TARBALL_BLACKLIST
BM_TARBALL_BLACKLIST[0]="/etc/nospace/"
BM_TARBALL_BLACKLIST[1]="/etc/there is space"
export BM_TARBALL_BLACKLIST
This syntax works for BM_TARBALL_TARGETS
:
Hi,
how to exclude a directory with whitespace in its name from the backup?
Regards Joshua