UUSEND(1C)

NAME
uusend - send a file to a remote host

SYNOPSIS
uusend [ -r ] [ -f ] [ -m mode ] sourcefile sys1!sys2!..!remotefile
ruusend [ -r ] [ -m mode ] - sys1!sys2!..!remotefile

DESCRIPTION
Uusend sends a file to a given location on a remote system. The system need not be directly connected to the local system, but a chain of uucp(1) links needs to connect the two systems.

If the -m option is specified, the mode of the file on the remote end will be taken from the octal number given. Otherwise, the mode of the input file will be used.

The sourcefile can be ``-'', meaning to use the standard input. Both of these options are primarily intended for internal use of uusend.

The remotefile can include the ~userid syntax.

If the -r option is given it is passwd to uux(1c), see the corresponding man page for more details.

On some systems invoking uusend as ruusend will disallow any sourcefile argument except - (standard input). On others ruusend will function exactly as uusend.

The -f option allows the destination to be a directory. The source file will be copied into a file of the same name in the given directory.

DIAGNOSTICS
If anything goes wrong any further away than the first system down the line, you will never hear about it.

SEE ALSO
uux(1), uucp(1), uuencode(1)

BUGS
This command should not exist, since uucp should handle it.

All systems along the line must have the uusend command available and allow remote execution of it.

Some uucp systems have a bug where binary files cannot be the input to a uux command. If this bug exists in any system along the line, the file will show up severly munged.