Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with zsh and wildcards in scp commands
- X-seq: zsh-users 17707
- From: John <da_audiophile@xxxxxxxxx>
- To: Jérémie Roquet <arkanosis@xxxxxxxxx>
- Subject: Re: problem with zsh and wildcards in scp commands
- Date: Sun, 17 Mar 2013 09:24:26 -0700 (PDT)
- Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1363537466; bh=22TbyqG7Xn7zhjW9ExTcbQMqcJAnNEq8fNy/0UE5jN0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zTKKnT/PMCTuJMlBnD25ADHLGFlsrAt1c//I1PYeHwR4SfgmuBl99WAK8PB3JS3jKf5DZkvFR1Hb82QitmTefwVhtA+RK3kCLheSA7Ah1xu01BVgSrb69RgmHKvWkawrJkvUmXpCzZYqA2bOZysQzc1r40a0Zob2LnMSJlqRRbo=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fnajpRLEUHumicYdPr8yWWbForB9h+8oxmN0J1A1ReAAxiRWjmz0e4tis9OGlyNMrfV418PqPWTJVJPKmT9dvX4NwJFMV0Isr0MgmUk8mp0YvUpF5da3ahpSZi9A9VmEaLUnC5iQ0pCnztT49Gz5sTyDOSFMKeJmUskdColl4Xc=;
- In-reply-to: <CAFOazANoB4ere8c3X6UHM_1TzdBb9NM14DuJmeaFobO22zB0+w@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1363536224.75338.YahooMailNeo@web140003.mail.bf1.yahoo.com> <CAFOazANoB4ere8c3X6UHM_1TzdBb9NM14DuJmeaFobO22zB0+w@mail.gmail.com>
- Reply-to: John <da_audiophile@xxxxxxxxx>
Thank you. Perhaps an alias ?
alias scp='noglob scp'
----- Original Message -----
> From: Jérémie Roquet <arkanosis@xxxxxxxxx>
> To: John <da_audiophile@xxxxxxxxx>
> Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
> Sent: Sunday, March 17, 2013 12:20 PM
> Subject: Re: problem with zsh and wildcards in scp commands
>
> Hi,
>
> 2013/3/17 John <da_audiophile@xxxxxxxxx>:
>> Thank you. Can zsh be modified easily in a config file to behave as bash
> with scp?
>
> unsetopt nomatch
>
> I wouldn't advice to use this, however, as it still wouldn't do what
> you expect it to do if the expansion is possible locally.
>
> You should rather use something like “noglob scp facade@gogo:~/*.xz
> .”, which prevents local expansion.
>
> Best regards,
>
> --
> Jérémie
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author