The source file name may be a path name on your machine, or may have the form:
system-name!pathname
where system-name is taken from a list of system names that uucp knows about. source_file is restricted to no more than one system-name. The destination system-name may also include a list of system names such as
system-name!system-name!...!system-name!pathname
In this case, an attempt is made to send the file, using the specified route, to the destination. Care should be taken to ensure that intermediate nodes in the route are willing to forward information
(see NOTES below for restrictions).
For C-Shell users, the ``!'' character must be surrounded by single quotes ('), or preceded by a backslash (\).
The shell metacharacters ?, * and [...] appearing in pathname will be expanded on
the appropriate system.
Pathnames may be one of the following:
- (1)
- An absolute pathname.
- (2)
- A pathname preceded by ~user where user is a login name on the specified system and
is replaced by that user's login directory.
- (3)
- A pathname preceded by ~/destination where destination is appended to /var/spool/uucppublic. (Note: This destination will be treated as a filename unless more than one file is being transferred by this request or the destination is already a directory. To ensure that the destination
is a directory, follow it with a '/'. For example ~/dan/ as the destination will make the directory /var/spool/uucppublic/dan if it does not exist
and put the requested file(s) in that directory).
Anything else is prefixed by the current directory.
If the result is an erroneous path name for the remote system, the copy will fail. If the destination-file is a directory, the last part of the source-file name is used.
Invoking uucp with shell wildcard characters as the remote source-file invokes the uux(1C) command to execute the uucp command on the remote machine. The remote uucp command spools the files on the remote machine.
After the first session terminates, if the remote machine is configured to transfer the spooled files to the local machine, the remote machine will initiate a call and send the files; otherwise, the user
must "call" the remote machine to transfer the files from the spool directory to the local machine. This call can be done manually using Uutry(1M), or as a side effect of another uux(1C) or uucp call.
Note that the local machine must have permission to execute the uucp command on the remote machine in order for the remote machine to send the spooled files.
uucp removes execute permissions across the transmission and gives 0666 read and write permissions (see chmod(2)).
|