Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: scp and globbing in zsh



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