Feature requests for scp and ssh

Bob Proulx bob at proulx.com
Tue Jan 18 05:41:57 EST 2005


Simon Kissane wrote:
> Would it be possible to add an option to the scp command, so that if a
> destination file already exists, rather than overwriting it, scp just
> skips the destination file, prints a message to stderr and returns an
> error (non-zero) exit? That would help me immensely.

I suggest you use 'rsync' over 'ssh'.  The rsync program has a many
options.  Look at the -u, --update option.

  http://rsync.samba.org

Bob




More information about the openssh-unix-dev mailing list