file name handling "bug" in scp?
Darren Tucker
dtucker at zip.com.au
Wed Jul 27 22:01:12 EST 2005
stdout azi wrote:
> OK, let me mention my issue :-)
>
> $scp foo.pdf azi at foo.bar.com LALALALA
> cp : cannot stat `azi at foo.bar.com': No such file or directory
When scp is not given a hostname it falls back to behaving like cp and a
3-arg cp works like that (although gnu cp checks that the destination is
a directory):
$ echo foo >a
$ mkdir b
$ cp a foo at bar b
cp: cannot stat `foo at bar': No such file or directory
$ cat b/a
foo
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list