rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone
Blob Blame History Raw
diff -up openssh-5.1p1/scp.1.manpage openssh-5.1p1/scp.1
--- openssh-5.1p1/scp.1.manpage	2008-07-12 09:12:49.000000000 +0200
+++ openssh-5.1p1/scp.1	2008-07-23 19:18:15.000000000 +0200
@@ -66,6 +66,14 @@ treating file names containing
 as host specifiers.
 Copies between two remote hosts are also permitted.
 .Pp
+When copying a source file to a target file which already exists,
+.Nm 
+will replace the contents of the target file (keeping the inode).
+.Pp
+If the target file does not yet exist, an empty file with the target
+file name is created, then filled with the source file contents.
+No attempt is made at "near-atomic" transfer using temporary files.
+.Pp
 The options are as follows:
 .Bl -tag -width Ds
 .It Fl 1