Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux uuto command

Linux uuto command

Linux Command Reference Linux Command Reference

The Linux uuto command transfers files to a remote UUCP host.

uuto is a command-line tool in Unix and Linux systems used to transfer files over a UUCP (Unix-to-Unix Copy) network.

UUCP is an early network protocol used to transfer files and execute commands between different Unix systems.

uuto The command is part of the UUCP toolset; it lets users send files to a remote system and perform some simple operations there.

Syntax

uuto [选项] 源文件 目标系统!目标用户

Parameters:

Common options:

uuto The command supports some common options; here are a few:

For related parameters, please refer to the uucp command.


Example

Transferring a single file

Suppose you have a file example.txt, you want to send it to the remote system remote_system to the user on that system remote_user, you can use the following command:



uuto example.txt remote_system!remote_user

Transferring a directory

If you want to transfer a directory my_directory and all its contents, you can use -r Option:



uuto -r my_directory remote_system!remote_user

Transferring after compressing files

If you want to compress files before transferring, you can use -p Option:



uuto -p example.txt remote_system!remote_user

Sending an email notification after transfer completes

If you want to receive an email notification after the file transfer completes, you can use -m Option:



uuto -m example.txt remote_system!remote_user


Notes

Linux Command Reference Linux Command Reference