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