From: Wayne Davison <wayned@users.sourceforge.net>
To: Peter Stephenson <pws@csr.com>
Cc: zsh-users@sunsite.dk
Subject: Re: scp and globbing in zsh
Date: Fri, 23 Jul 2004 10:37:25 -0700 [thread overview]
Message-ID: <20040723173725.GC11633@blorf.net> (raw)
In-Reply-To: <200407231705.i6NH57hG007590@news01.csr.com>
On Fri, Jul 23, 2004 at 06:05:06PM +0100, Peter Stephenson wrote:
> 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 does have the consequence of not telling you when you actually
mistype a local match pattern. I prefer to leave nomatch set and to
manually quote wildcards that need to be expanded remotely. You'd
either use quotes or a backslash, like this:
$ scp someserver:tmp/\*.txt .
(Note that the leading "~/" isn't needed since ssh defaults to being in
your home directory.) Just my 2 cents.
..wayne..
next prev parent reply other threads:[~2004-07-23 17:40 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
2004-07-23 17:37 ` Wayne Davison [this message]
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=20040723173725.GC11633@blorf.net \
--to=wayned@users.sourceforge.net \
--cc=pws@csr.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).