[Box Backup-dev] bbackupquery command line interface

Dave Bamford boxbackup-dev@fluffy.co.uk
Sat, 27 May 2006 22:11:47 +0100


I am thinking of writing a PHP interface to bbackupquery so it can be 
used from
a web browser. I have got simple queries to work by submitting the command
in the following syntax

echo exec('bbackupquery "list -t MyDocuments" exit');

but to burrow down the tree its fine until I hit a directory name with a 
space ie

echo exec('bbackupquery "list -t MyDocuments/dave/My Documents" exit');

The list command is truncated at the space and no combination of single or
double quotes seem to work.

The command can also be done from the command prompt with the same results.


Dave Bamford.