greetings!

running cfengine2, I wanted to know if i can copy a file only if it
does not exist.

sort of :

[ -s myfile ] ||  cp someotherfile myfile

I *can* do this in a "shellcommands" thingy, but I wanted to know
whether I can do this within a "copy". the closest i could find is the
"type"


many thanks in advance!
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to