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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4E941506.3080707@ltu.se>
Date: Tue, 11 Oct 2011 12:05:58 +0200
From: Bengt-Arne Fjellner <Bengt-Arne DOT Fjellner AT ltu DOT se>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: scp wont allow wildcards
References: <Xns9F7B6B88BF692zzappergmailcom AT 80 DOT 91 DOT 229 DOT 10> <Xns9F7B6CA424E97zzappergmailcom AT 80 DOT 91 DOT 229 DOT 10>
In-Reply-To: <Xns9F7B6CA424E97zzappergmailcom@80.91.229.10>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 10/11/11 11:41 AM, 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
Try escaping the *

either

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

or

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





--
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