scp with zsh : no matches found
when I try scp over zsh, I get
scp hostA:Descargas/debian-6.0.4-* [email protected]:Escritorio/Software/
zsh: no matches found: hostA:Descargas/debian-6.0.4-*
the same command work in bash
Solution 1:
Escape your wildcard :
scp hostA:Descargas/debian-6.0.4-\*
Solution 2:
or add this to your .zshrc
alias scp='noglob scp'
Solution 3:
Too late for the party, but..
You can escape the string with quotes too
scp "hostA:Descargas/debian-6.0.4-*" "[email protected]:Escritorio/Software/"
Solution 4:
Unset the NOMATCH
option so that zsh leaves the text alone instead of complaining about a glob failure.