Displaying 1 result from an estimated 1 matches for "destroyed_".
Did you mean:
destroyed
2004 Dec 08
1
dangerous behaviour of scp
When you require a scp copy of more than 1 file to a destination 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 b...