Displaying 1 result from an estimated 1 matches for "my_local_file".
2009 May 20
0
[Bug 1600] New: scp(1) man page feedback
...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/
--
Configur...