Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: scp and noglob
- X-seq: zsh-users 8252
- From: David Gómez <david@xxxxxxxxxxxx>
- To: Philippe Troin <phil@xxxxxxxx>
- Subject: Re: scp and noglob
- Date: Tue, 30 Nov 2004 10:10:39 +0100
- Cc: Jens Kubieziel <maillist@xxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- In-reply-to: <87brdgmbak.fsf@xxxxxxxxxxxxxxxx>
- Mail-followup-to: Philippe Troin <phil@xxxxxxxx>, Jens Kubieziel <maillist@xxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041129205603.GA5217@xxxxxxxxxxxx> <87brdgmbak.fsf@xxxxxxxxxxxxxxxx>
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