|
|
1.1 ! root 1: ! 2: ! 3: ! 4: NETCP(1) UNIX Programmer's Manual NETCP(1) ! 5: ! 6: ! 7: ! 8: NAME ! 9: netcp - remote copy of files through the net ! 10: ! 11: SYNOPSIS ! 12: netcp [ -l login ] [ -p password ] [ -f ] [ -n ] [ -q ] ! 13: fromfile tofile ! 14: ! 15: DESCRIPTION ! 16: _N_e_t_c_p copies files between machines and is similar to _c_p(1). ! 17: At least one of _f_r_o_m_f_i_l_e and _t_o_f_i_l_e must be remote. The -l, ! 18: -p, -f, -q, and -n behave exactly as in _n_e_t(1). ! 19: ! 20: _F_r_o_m_f_i_l_e and _t_o_f_i_l_e follow these conventions: ! 21: ! 22: 1. A simple filename is assumed to be local and from the ! 23: current directory. ! 24: ! 25: 2. A filename preceded by a machine designator (see below) ! 26: is a reference to a file on the specified remote ! 27: machine. If a full pathname is not given, it is assumed ! 28: to be from the login directory. ! 29: ! 30: Examples: ! 31: ! 32: grades.p file in the current directory on local ! 33: machine ! 34: ! 35: C:junk file in your login directory on C ! 36: ! 37: /usr/lib/pq file on local machine ! 38: ! 39: C:comp/c2.c file in a subdirectory on C machine ! 40: ! 41: When files are being ``fetched'', that is, the _f_r_o_m_f_i_l_e is ! 42: remote and the _t_o_f_i_l_e is local, the _t_o_f_i_l_e is created zero- ! 43: length mode 600. For security reasons, when the ``fetched'' ! 44: file's contents arrive at the local machine, the file must ! 45: still be zero-length and mode 0600. No confirmation is sent ! 46: to the user that the file has been ``fetched''; a non-zero ! 47: file length indicates completion. ! 48: ! 49: _N_e_t_c_p executes the _n_e_t(1) command. ! 50: ! 51: SEE ALSO ! 52: net(1), netrm(1), netq(1), netlog(1), netlpr(1), netmail(1), ! 53: netlogin(1), cp(1), mail(1) ! 54: ! 55: AUTHOR ! 56: Eric Schmidt ! 57: ! 58: BUGS ! 59: The second filename may not be defaulted to a directory name ! 60: ! 61: ! 62: ! 63: Printed 7/26/87 4/29/85 1 ! 64: ! 65: ! 66: ! 67: ! 68: ! 69: ! 70: NETCP(1) UNIX Programmer's Manual NETCP(1) ! 71: ! 72: ! 73: ! 74: as in _c_p(1), it must be given explicitly. ! 75: The file mode may or may not be set correctly. ! 76: ! 77: ! 78: ! 79: ! 80: ! 81: ! 82: ! 83: ! 84: ! 85: ! 86: ! 87: ! 88: ! 89: ! 90: ! 91: ! 92: ! 93: ! 94: ! 95: ! 96: ! 97: ! 98: ! 99: ! 100: ! 101: ! 102: ! 103: ! 104: ! 105: ! 106: ! 107: ! 108: ! 109: ! 110: ! 111: ! 112: ! 113: ! 114: ! 115: ! 116: ! 117: ! 118: ! 119: ! 120: ! 121: ! 122: ! 123: ! 124: ! 125: ! 126: ! 127: ! 128: ! 129: Printed 7/26/87 4/29/85 2 ! 130: ! 131: ! 132:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.