scp wont allow wildcards

Bengt-Arne Fjellner Bengt-Arne.Fjellner@ltu.se
Tue Oct 11 10:06:00 GMT 2011


On 10/11/11 11:41 AM, zzapper wrote:
>> rcp root@111.111.111.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@111.111.111.111:/var/html/www/scripts/*.php" .

or

scp root@111.111.111.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



More information about the Cygwin mailing list