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

Re: scp and noglob



Hi Philippe ;),

> > I often use scp to transfer multiple files. Assume I want to transfer
> > all *.c-files, I enter:
> > scp $SERVER:*.c .
> > Zsh tries to expand *.c and I have to insert a 'noglob'. Is there a way
> > to tell zsh to don't expand all filenames which are on the serverside?
> 
> alias scp='noglob command scp' 
> 
> maybe?

But sometimes you need globbing in the client part, so you'll have to
expand (tab-tab) the list to make the command line to work.

regards,

-- 
David Gómez                                      Jabber ID: davidge@xxxxxxxxxx



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