This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: scp wont allow wildcards


On Oct 11 09:41, 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

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]