[Box Backup] Re. Spaces in bbackupquery.
Scott McNee
boxbackup@fluffy.co.uk
Tue, 19 Jul 2005 19:36:03 +1000
While you are about ben is there a listing of the flags that bbackupquery
returns?
Scott McNee
ITServices
-----Original Message-----
From: boxbackup-admin@fluffy.co.uk [mailto:boxbackup-admin@fluffy.co.uk] On
Behalf Of Ben Summers
Sent: Wednesday, 20 July 2005 6:43 PM
To: boxbackup@fluffy.co.uk
Subject: Re: [Box Backup] Re. Spaces in bbackupquery.
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
_______________________________________________
boxbackup mailing list
boxbackup@fluffy.co.uk
http://lists.warhead.org.uk/mailman/listinfo/boxbackup