[Bug 1600] New: scp(1) man page feedback

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu May 21 07:35:46 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1600

           Summary: scp(1) man page feedback
           Product: Portable OpenSSH
           Version: 5.2p1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: scp
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: dgatwood at mac.com


An anonymous web commenter recently pointed out to me that it would be
helpful for the scp man page to include an EXAMPLES section with a
couple of common use cases.  Not a particularly big deal for me, but
it's a trivial enough thing to add, e.g.


.Sh EXAMPLES
.Pp
To copy a local file to a remote server:
.Pp
.Dl Li scp my_local_file.txt me at example.com:remote_name.txt
.Pp
To copy a remote file to the current directory:
.Pp
.Dl Li scp me at example.com:uploaded_files/remote_filename.txt .
.Pp
To copy a directory full of files to a remote server:
.Pp
.Dl Li scp -r local_directory me at example.com:uploaded_files/

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list