From: Ambrose L. <amb...@gm...> - 2007-02-16 05:30:30
|
On 15/02/07, Craig Barratt <cba...@us...> wrote: > > BackupPC doesn't use a shell for executing these commands, > so shell substitutions like `...` don't work. > > You can set $Conf{TarClientCmd} to execute a shell script that > can do any argument processing you want. Actually `` are valid Perl quotes that execute a shell, so this would have worked if the `` had not been further quoted. Whether running things like these in a config file is safe is another matter, though. I think this is in general a bad idea, but if the command inside the backticks is guaranteed to produce safe output this should be ok. -- cheers, -ambrose |