duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Getting started with duplicity.


From: Travis H.
Subject: Re: [Duplicity-talk] Getting started with duplicity.
Date: Mon, 26 Feb 2007 22:36:21 -0600
User-agent: Mutt/1.5.12-2006-07-14

On Wed, Feb 21, 2007 at 11:21:50AM -0800, Bill Broadley wrote:
> The invalid command is puzzling, if I run it manually:
> address@hidden:~$ echo -e 'cd /home/bill/backup
> > ls -1' | sftp -b - address@hidden
> sftp> cd /home/bill/backup
> sftp> ls -1
> .
> ..
> duplicity-full.2007-02-21T10:43:27-07:00.vol1.difftar.gpg
> duplicity-full.2007-02-21T10:43:27-07:00.manifest.gpg
> duplicity-full-signatures.2007-02-21T10:43:27-07:00.sigtar.gpg
> ...

Perhaps the environment to the command is not the same; that is,
perhaps sftp isn't in the PATH or something like that.  However,
I don't think I've seen "invalid command" before, except....

I think the echo command is a shell built-in in some cases, and
-e is not universally recognized; perhaps "invalid command" is
related in some way; for example, echo is echoing the string
"-e ..." and that's not a valid command for sftp.
-- 
Good code works.  Great code can't fail. -><-
<URL:http://www.subspacefield.org/~travis/>
For a good time on my UBE blacklist, email address@hidden

Attachment: pgpqQ1ci6d_UN.pgp
Description: PGP signature


reply via email to

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