Copy/paste text and files between computers, along the network. Written in Golang.
git clone https://github.com/ivopetiz/copypaste-on-lan.git
cd copypaste-on-lan/copy/
env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" copy.go
sudo cp copy /usr/local/bin/gocopy
cd ../paste
env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" paste.go
sudo cp paste /usr/local/bin/gopaste
Usage of copy:
-debug
Get all significant info
-ip string
Destiny machine IP address
-local
Intern transfer
-port int
Port to Copy´s server (default 9876)
-time int
Copy server window duration (in seconds) (default 300)
Usage of cpaste:
-debug
Get all significant info
-ip string
Copy server IP address
-port string
Port to Copy's server (default "9876")