pcp
Peer-to-peer file copy over the local network
TLDR
Copy a file/directory to another machine running pcp
$ pcp [path]
Receive / wait for incoming copy (peer mode)$ pcp
Specify a peer explicitly if auto-discovery fails$ pcp --peer [host] [path]
SYNOPSIS
pcp [*options*] [*path*]
DESCRIPTION
pcp (peer copy) transfers files between machines on a LAN using peer discovery instead of scp hostnames and keys for casual copies. One side advertises/receives; the other pushes a path. Implemented in Go; install via go install, Homebrew, or releases from dennis-tra/pcp.Not related to the Performance Co-Pilot toolkit (also abbreviated PCP).
PARAMETERS
*path*
File or directory to send.--peer *address*
Target peer when mDNS/discovery is unavailable.-h, --help
Full option set (ports, codes, UI).
INSTALL
sudo apt install pcp
sudo dnf install pcp
sudo pacman -S pcp
sudo zypper install pcp
brew install pcp
CAVEATS
Designed for trusted local networks—do not expose on untrusted links without understanding the threat model. Firewall/mDNS restrictions can block discovery. Name clash with Performance Co-Pilot commands on some systems.
SEE ALSO
scp(1), rsync(1), croc(1), magic-wormhole(1)
