NETCP(1) UNIX Programmer's Manual NETCP(1) NAME netcp - remote copy of files through the net SYNOPSIS netcp [ -l login ] [ -p password ] [ -f ] [ -n ] fromfile tofile DESCRIPTION _N_e_t_c_p copies files between machines and is similar to _c_p(1). At least one of _f_r_o_m_f_i_l_e and _t_o_f_i_l_e must be remote; the -l and -p options specify the login name and password for that remote machine. If these options are not specified, the name and password are prompted for on the terminal. The -f option forces prompting for the login name and password; the -n option prevents confirmation or error messages from being returned. _F_r_o_m_f_i_l_e and _t_o_f_i_l_e follow these conventions: 1. A simple filename is assumed to be local and from the current directory. 2. A filename preceded by a machine designator (see below) is a reference to a file on the specified remote machine. If a full pathname is not given, it is assumed to be from the login directory. Examples: grades.p file in the current directory on local machine C:junk file in your login directory on C /usr/lib/pq file on local machine C:comp/c2.c file in a subdirectory on C machine _N_e_t_c_p executes the _n_e_t(1) command. SEE ALSO cp(1), mail(1), net(1), netlog(1), netlpr(1), netmail(1), netq(1), netrm(1) AUTHOR Eric Schmidt BUGS The second filename may not be defaulted to a directory name, it must be given explicitly. The file mode may or may not be set correctly. Printed 5/16/83 1