NETCP(1)

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.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

Netcp executes the net(1) command.

SEE ALSO
net(1), netrm(1), netq(1), netlog(1), netlpr(1), netmail(1), 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.