From: matt m <allucid@gmail.com>
To: zsh-users@sunsite.dk
Subject: Re: scp and globbing in zsh
Date: Fri, 23 Jul 2004 13:23:11 -0400 [thread overview]
Message-ID: <23e98abb040723102373e5d2ca@mail.gmail.com> (raw)
In-Reply-To: <200407231705.i6NH57hG007590@news01.csr.com>
On Fri, 23 Jul 2004 18:05:06 +0100, Peter Stephenson <pws@csr.com> 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@gmail.com
next prev parent reply other threads:[~2004-07-23 17:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-23 16:48 matt m
2004-07-23 17:05 ` Peter Stephenson
2004-07-23 17:23 ` matt m [this message]
2004-07-23 17:37 ` Wayne Davison
2004-07-23 17:47 ` Bart Schaefer
2004-07-23 20:24 ` Vincent Lefevre
2004-07-24 18:35 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23e98abb040723102373e5d2ca@mail.gmail.com \
--to=allucid@gmail.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).