help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copy with spaces...


From: Steve Wray
Subject: copy with spaces...
Date: Wed, 5 May 2004 10:09:31 +1200
User-agent: KMail/1.6.1

I am having some trouble with copy commands like this;

copy:
        /home/test/dirname/ dest="/home/testdest/dir name" recurse=inf

it doesn't like the space, not one bit;
<error message>
cf:cfengine::/var/lib/cfengine2/inputs/cfagent.conf:63: Image 
"/home/testdest/dir needs an absolute path
name
cf:cfengine::/var/lib/cfengine2/inputs/cfagent.conf:65: Image name" needs an 
absolute pathname
cfengine:roe252-135:/var/lib/cfengine2/inputs/cfagent.conf:Execution terminated 
after parsing due to errors in
 program
</error message>

I've tried various quoting;
dest="/home/testdest/dir\ name/"
"dest=/home/testdest/dir name/"

I've tried with and without the trailing / on the destination.

nothing works.

is cfengine 'copy' capable of copyihg to destination directories with spaces in 
the name?

I've verified that its possible to create directories with spaces in the names 
using;

directories:
        "/home/testdest/dir name"


Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]