Bug 1600 - scp(1) man page feedback
Summary: scp(1) man page feedback
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: scp (show other bugs)
Version: 5.2p1
Hardware: Other All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 07:35 AEST by David Gatwood
Modified: 2009-05-21 07:35 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Gatwood 2009-05-21 07:35:45 AEST
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@example.com:remote_name.txt
.Pp
To copy a remote file to the current directory:
.Pp
.Dl Li scp me@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@example.com:uploaded_files/