Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: scp and globbing in zsh
- X-seq: zsh-users 7740
- From: matt m <allucid@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: scp and globbing in zsh
- Date: Fri, 23 Jul 2004 13:23:11 -0400
- In-reply-to: <200407231705.i6NH57hG007590@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200407231705.i6NH57hG007590@xxxxxxxxxxxxxx>
On Fri, 23 Jul 2004 18:05:06 +0100, Peter Stephenson <pws@xxxxxxx> wrote:
> matt m wrote:
> > $ scp someserver:~/tmp/*.txt .
> > $ scp *.txt someserver:~/tmp/
> >
> > The first one fails with globbing because it seems to be looking for
> > ~/tmp/*.txt on my local machine instead of the remote machine but the
> > second command works fine.
>
> Zsh is set by default to report an error when any pattern match fails.
> You probably want to pass through any unrecognised patterns to the
> command. You can do that with:
>
> setopt nonomatch
That's just what I was looking for, thank you.
--
allucid
allucid@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author