NETCP(UCB) — UNIX Programmer’s Manual
NAME
netcp − remote copy of files through the net
SYNOPSIS
netcp [ −l login ] [ −p password ] [ −f ] [ −n ] fromfile tofile
DESCRIPTION
Netcp copies files between machines and is similar to cp(1). At least one of fromfile and tofile 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.
Fromfile and tofile 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.pfile in the current directory on local machine
C:junkfile in your login directory on C
/usr/lib/pqfile on local machine
C:comp/c2.cfile in a subdirectory on C machine
Netcp executes the net(UCB) command.
SEE ALSO
net(UCB), netrm(UCB), netq(UCB), netlog(UCB), netlpr(UCB), netmail(UCB), cp(1), mail(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.
7th Edition — 2/24/79