Displaying 1 result from an estimated 1 matches for "_kindly_".
Did you mean:
_kind_
2004 Dec 08
1
dangerous behaviour of scp
...ination that is
not a directory, scp copy the last input file to the destination
(version openssh-3.8.1p1).
Thus if you forget to specify the destination, the last file is
_silently destroyed_.
I know that rcp exhibits the same behaviour but cp and rsync don't do
anything in that case and _kindly_ warn you that you made a mistake:
cp: copying multiple files, but last argument `<file>' is not a directory
Try `cp --help' for more information.
ERROR: destination must be a directory when copying more than 1 file
rsync error: errors selecting input/output files, dirs (code 3) at...