Skip to content

Copy/paste text and files between computers, along the network. Written in Golang

License

Notifications You must be signed in to change notification settings

ivopetiz/copypaste-on-lan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copypaste-on-lan

Codacy Badge Build Status

Copy/paste text and files between computers, along the network. Written in Golang.

Installation

Debian/Ubuntu

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

COPY ON LAN

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)

PASTE ON LAN

Usage of cpaste:
  -debug
    	Get all significant info
  -ip string
    	Copy server IP address
  -port string
    	Port to Copy's server (default "9876")