Detection of identical file doesn't work for localhost:
Markus Friedl
Markus.Friedl at informatik.uni-erlangen.de
Tue Jan 30 21:44:38 EST 2001
> I had to notice that scp is able to detect if a file is copied to itself
> if you use "scp foo /path/to/foo" or "scp foo .". If you type in "scp
> foo localhost:/path/to/foo" it will still overwrite the old version of
> foo. Is it possible to change this behaviour of scp?
how could 'scp' tell that it's really the identical file?
More information about the openssh-unix-dev
mailing list