| 1 | .TH NETCP 1 2/24/79 |
| 2 | .UC |
| 3 | .ds s 1 |
| 4 | .ds o 1 |
| 5 | .SH NAME |
| 6 | netcp \- remote copy of files through the net |
| 7 | .SH SYNOPSIS |
| 8 | .B netcp |
| 9 | [ |
| 10 | .B \-l |
| 11 | login ] [ |
| 12 | .B \-p |
| 13 | password ] |
| 14 | [ |
| 15 | .B \-f |
| 16 | ] [ |
| 17 | .B \-n |
| 18 | ] fromfile tofile |
| 19 | .SH DESCRIPTION |
| 20 | .I Netcp |
| 21 | copies files between machines and is similar to |
| 22 | .IR cp (\*o). |
| 23 | At least one of |
| 24 | .I fromfile |
| 25 | and |
| 26 | .I tofile |
| 27 | must be remote; the |
| 28 | .B \-l |
| 29 | and |
| 30 | .B \-p |
| 31 | options specify the login name and password |
| 32 | for that remote machine. |
| 33 | If these options are not specified, |
| 34 | the name and password are prompted for on the terminal. |
| 35 | The |
| 36 | .B \-f |
| 37 | option forces prompting for the login name and password; |
| 38 | the |
| 39 | .B \-n |
| 40 | option prevents confirmation |
| 41 | or error messages from being returned. |
| 42 | .PP |
| 43 | .I Fromfile |
| 44 | and |
| 45 | .I tofile |
| 46 | follow these conventions: |
| 47 | .TP 4 |
| 48 | 1. |
| 49 | A simple filename is assumed to be local and from the current directory. |
| 50 | .TP 4 |
| 51 | 2. |
| 52 | A filename preceded by a machine designator (see below) |
| 53 | is a reference to a file on the specified remote machine. |
| 54 | If a full pathname is not given, it is assumed to be from the login directory. |
| 55 | .PP |
| 56 | Examples: |
| 57 | .IP " grades.p" 20 |
| 58 | file in the current directory on local machine |
| 59 | .IP " C:junk" 20 |
| 60 | file in your login directory on C |
| 61 | .IP " /usr/lib/pq" 20 |
| 62 | file on local machine |
| 63 | .IP " C:comp/c2.c" 20 |
| 64 | file in a subdirectory on C machine |
| 65 | .PP |
| 66 | .I Netcp |
| 67 | executes the |
| 68 | .IR net (\*s) |
| 69 | command. |
| 70 | .SH "SEE ALSO" |
| 71 | net(\*s), netrm(\*s), netq(\*s), netlog(\*s), |
| 72 | netlpr(\*s), netmail(\*s), cp(\*o), mail(\*o) |
| 73 | .SH AUTHOR |
| 74 | Eric Schmidt |
| 75 | .SH BUGS |
| 76 | The second filename may not be defaulted to a directory name, |
| 77 | it must be given explicitly. |
| 78 | .br |
| 79 | The file mode may or may not be set correctly. |