rcp(1)

rcp1

Remote copy

Usage

rcp [OPTION ...] SOURCE DEST

rcp [OPTION ...] SOURCE ... DIRECTORY

rcp [OPTION ...] --target-directory=DIRECTORY SOURCE ...

Overview

Remote copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.

-4, --ipv4

use only IPv4

-6, --ipv6

use only IPv6

-d, --target-directory[=DIRECTORY]

copy all SOURCE arguments into DIRECTORY

-f, --from

copying from remote host (server use only)

-p, --preserve

attempt to preserve (duplicate) in its copies the modification times and modes of the source files

-r, --recursive

if any of the source files are directories, copies each subtree rooted at that name; in this case the destination must be a directory

-t, --to

copying to remote host (server use only)

-?, --help

give this help list

--usage

give a short usage message

-V, --version

print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Releases

8 releases since Debian 1.1 (Buzz); the text changed 3 times.

  1. 1.1–1.2
  2. 1.3–2.2
  3. 3.0
  4. Arch

--from since Arch Linux 2026-11-01; --help since Arch Linux 2026-11-01; --ipv4 since Arch Linux 2026-11-01; --ipv6 since Arch Linux 2026-11-01; --preserve since Arch Linux 2026-11-01; --recursive since Arch Linux 2026-11-01; --target-directory since Arch Linux 2026-11-01; --to since Arch Linux 2026-11-01; --usage since Arch Linux 2026-11-01; --version since Arch Linux 2026-11-01; -4 since Arch Linux 2026-11-01; -6 since Arch Linux 2026-11-01; -? since Arch Linux 2026-11-01; -V since Arch Linux 2026-11-01; -d since Arch Linux 2026-11-01; -f since Arch Linux 2026-11-01; -t since Arch Linux 2026-11-01.

-D until Debian 3.0 (Woody); -N until Debian 3.0 (Woody); -PN until Debian 3.0 (Woody); -PO until Debian 3.0 (Woody); -k until Debian 3.0 (Woody); -x until Debian 3.0 (Woody).

Author

Written by many authors.

Reporting bugs

Report bugs to <[email protected]>.

From inetutils 2.8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.