Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: turn off globbing sometimes



> On 6/26/07, Richard Hartmann <richih.mailinglist@xxxxxxxxx> wrote:
>> How could I turn globbing off for the _remote_ part of scp?
>>
>> I.e.
>> scp remote:foo/* .
>> should not expand, while
>> scp * remote:foo/
>> should expand normally. Any ideas?

"setopt nonomatch" is a pretty good approximation to this, unless
you really have files called remote:foo/* on the disk.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview



Messages sorted by: Reverse Date, Date, Thread, Author