xfs
[Top] [All Lists]

Re: XFSdump / shell scripting

To: "Steve Wolfe" <nw@xxxxxxxxx>
Subject: Re: XFSdump / shell scripting
From: Keith Owens <kaos@xxxxxxx>
Date: Fri, 18 Jan 2002 11:13:02 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Thu, 17 Jan 2002 17:10:43 PDT." <004a01c19fb4$9423fa40$d281f6cc@xxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, 17 Jan 2002 17:10:43 -0700, 
"Steve Wolfe" <nw@xxxxxxxxx> wrote:
>> Try it without the quotes (``) around $CMD, or use:
>> eval "$CMD"
>> instead.

The problem is the backticks.  You are executing $CMD, taking the
output from xfsdump then trying to execute the output.  That is why it
says xfsdump:: with two ':', the output starts with 'xfsdump:' and it
is not surprising that the shell cannot find that command.

$CMD, not `$CMD`.


<Prev in Thread] Current Thread [Next in Thread>