[Box Backup] Re. Spaces in bbackupquery.
Ben Summers
boxbackup@fluffy.co.uk
Wed, 20 Jul 2005 09:43:25 +0100
On 19 Jul 2005, at 07:03, Scott McNee wrote:
> Hi All I seem to remember something about this somewhere...
> Anyway trying to list a Directory with a space like so :
>
> /usr/sbin/bbackupquery -q -c /etc/box-local/bbackupd.conf "list -IFd
> fs0-BIZEBOX-BACKUPS-OFFSITE/PUBLIC/KALMA/N/ICP Results" quit
>
> bbackupquery says that the directory does not exist? But it does.
As with any command executed from the shell, you need to quote quotes
with the quoted argument.
/usr/sbin/bbackupquery -q -c /etc/box-local/bbackupd.conf "list -IFd
\"fs0-BIZEBOX-BACKUPS-OFFSITE/PUBLIC/KALMA/N/ICP Results\"" quit
Should do the trick.
Ben