From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13630 invoked by alias); 17 Mar 2013 12:40:04 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17705 Received: (qmail 4692 invoked from network); 17 Mar 2013 12:39:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at yahoo.de does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1363523590; bh=ZUZEzWVikSDAChy7tvD7MJQPt7+KUB+Byrjt5KC+6Do=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:Content-Transfer-Encoding:In-Reply-To:User-Agent; b=HlvMqbXkf0vHe+ExQ/0Yz/iQywa+IrErzKerDfLiqedzcPE9XiYr94lIY6/oUvdID/yO120o+9h8pjp1Lo63kvQJkmmkbfGsDCL00XpOieO//8rOafofoNJzFQfi3vN+F6ZTWiMB4UHqgTeYRMoBsCRJ/WhJeep1irIiSKEB018= X-Yahoo-Newman-Id: 185070.29800.bm@smtp200.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: wcLA8bIVM1nWIzlRaIQU1SJP6CAAPyDxnQ87aQAChvFXGiI Pfx2OMQHvmWui4XZC3ixV_t4tvaIbe1FfFhartxCyNWEkLYAwQibW6KgCxgD jG8MZgnQKIJVMHdhJUPiC96VX84XaOd328w56WcFCnHh7OIWej_pjQgGb96b HWnG6yT_ey5ivIr4Mcc7oy9dEGdvo6DPdheCH1h5x35PQ1WK3HYyp586SRBY buIQp6FcbsJjXalays2H12Lqml6TiFiEYIDdfcMY21U80t8brPQ7BjzW2nSx GtO81XhBGe_2iqxsvrgNyFlBu7w7sjVJCIbhGdjW61apmY7GqiGgLRyKSYnn kcbkwVbZqq6ldvq6ET6EGWjgPLPQ21eThm6TBNnThWMAbWwzj0aq4MHQCNQN d7cpso4nERzw.AylF9ySVG3iYBBHZyuIp0_TK1BZMpTY8cUbPWQaRQEyo0RC 8_lA6lhuVIhQEUxR1MP586bwOV2ZByqmzppmwu21MKfLS6KFVy8StcW27B4X 8Wps_w706crVbwPsrCJswi2.GNerO X-Yahoo-SMTP: i47HtKCswBAsUPYctqX8HeV.z.c7 X-Rocket-Received: from marlov.frua (eikevons@80.171.192.227 with login) by smtp200.mail.ir2.yahoo.com with SMTP; 17 Mar 2013 12:33:10 +0000 UTC Date: Sun, 17 Mar 2013 13:33:08 +0100 From: Eike von Seggern To: zsh-users@zsh.org Subject: Re: problem with zsh and wildcards in scp commands Message-ID: <20130317123308.GA6254@marlov> Mail-Followup-To: zsh-users@zsh.org References: <1363517161.73898.YahooMailNeo@web140003.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1363517161.73898.YahooMailNeo@web140003.mail.bf1.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) Hi John, you need to escape the *, e.g. by putting it into quotes: scp "user@host:/path/to/*" . Otherwise zsh tries to expand it on your local machine and fails, hence the "zsh:…" message. Note that zsh's default behaviour differs here from bash in that bash inserts a literal * if the glob-expansion failed while zsh returns with the error you've encountered. Best Eike On Sun, Mar 17, 2013 at 03:46 -0700, John wrote: > I am using graysky's zsh config files which can be found on his github: https://github.com/graysky2/configs/tree/master/shell > > When I try to scp wildcards from remote servers, I get errors: > > > % scp facade@gogo:~/*.xz . > zsh: no matches found: facade@gogo:~/*.xz > > But if I do it without wildcards, no problems ...why :) > > % scp facade@gogo:~/webcam.tar.xz . > webcam.tar.xz                                                                                 100%  928KB 464.1KB/s   00:02