Linux uucp Command
The Linux uucp command is used to transfer files between Unix systems.
UUCP is a protocol for connecting Unix systems via serial lines. The uucp command uses the UUCP protocol, primarily for file transfer.
Syntax
uucp [-cCdfjmrRtvW][-g<grade>][-I<config file>][-n<user>][-x<type>][--help][source...][destination]
Parameter Description:
-c or --nocopy: Do not copy the file to the buffer.
-C or --copy: Copy the file to the buffer.
-d or --directories: Automatically create necessary directories at the destination when transferring files.
-f or --nodirectories: If a directory needs to be created at the destination, abort the operation.
-g<grade> or --grade<grade>: Specify the priority of the file transfer job.
-I<config file> or --config<config file>: Specify the uucp configuration file.
-j or --jobid: Display the job number.
-m or --mail: Send an email report upon job completion, indicating whether it was successful.
-n<user> or --notify<user>: Send an email to the specified user upon job completion, indicating whether it was successful.
-r or --nouucico: Do not start the uucico service immediately; instead, queue the job for later execution.
-R or --recursive: If the source is a directory, copy the entire directory, including subdirectories, to the destination.
-t or --uuto: Treat the last parameter as "hostname!user".
-v or --version: Display version information.
-W or --noexpand: Do not add the current directory to the path.
-x<type> or --debug<type>: Enable the specified debugging mode.
--help: Display help.
[source...]: Specify the source file or path.
[destination]: Specify the target file or path.
Example
Transfer all files in the temp/ directory to the Public/ directory in the uucp public directory on the remote host localhost. Enter the following command in the terminal:
uucp -d -R temp localhost ~/Public/
This command typically does not produce any output.