LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rcp

Copy files between hosts over the network

TLDR

Copy a file to a remote host
$ rcp path/to/local_file username@remote_host:/path/to/destination/
copy
Copy a directory recursively
$ rcp -r path/to/local_directory username@remote_host:/path/to/destination/
copy
Preserve file attributes
$ rcp -p path/to/local_file username@remote_host:/path/to/destination/
copy
Force copy without confirmation
$ rcp -f path/to/local_file username@remote_host:/path/to/destination/
copy

SYNOPSIS

rcp [options] source destination

DESCRIPTION

rcp copies files between local and remote systems. It mimics the behavior of the cp command but operates across different machines using the RSH protocol.The source or destination can be specified as user@host:path for remote locations.

PARAMETERS

-r, --recursive

Copy directories recursively
-p, --preserve
Preserve file attributes (mode, ownership, timestamps)
-f, --from
Force copy without confirmation

INSTALL

nix profile install nixpkgs#rcp
copy

CAVEATS

rcp transmits data unencrypted and is considered insecure. Use scp or rsync over SSH for secure file transfers instead.

HISTORY

Part of GNU inetutils, providing classic Unix networking utilities. Largely replaced by secure alternatives like scp and rsync.

SEE ALSO

scp(1), rsync(1), cp(1), rsh(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid