Skip to content

kayex/sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync

Sync is a simple file sync utility that replaces the contents of a remote directory with those of a local one using SFTP.

Build

go build -o sync cmd/sync/main.go

Usage

Replaces contents of remote directory destination with contents of local directory source

sync user:password@host:port destination source

For example, to replace the contents of remote directory /www with those of local directory dist

sync user:[email protected]:22 /www dist

About

SFTP file sync utility 📦

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published