delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/11/06:09:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 11 Oct 2011 12:08:50 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: scp wont allow wildcards
Message-ID: <20111011100850.GA27311@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Xns9F7B6B88BF692zzappergmailcom AT 80 DOT 91 DOT 229 DOT 10> <Xns9F7B6CA424E97zzappergmailcom AT 80 DOT 91 DOT 229 DOT 10>
MIME-Version: 1.0
In-Reply-To: <Xns9F7B6CA424E97zzappergmailcom@80.91.229.10>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Oct 11 09:41, zzapper wrote:
> 
> > 
> > rcp root AT 111 DOT 111 DOT 111 DOT 111:/var/html/www/scripts/*.php .
> > 
> > reports  "no Matches"
> > 
> > I guess it's a setting on the remote server in .rhosts etc please advise
> 
> 
> drat I meant scp

Doesn't matter, it's a PEBKAC.  The *local* shell tries to expand the *
since you gforgot to quote.  Try

  scp root AT 111 DOT 111 DOT 111 DOT 111:'/var/html/www/scripts/*.php' .


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019