Sync is a simple file sync utility that replaces the contents of a remote directory with those of a local one using SFTP.
go build -o sync cmd/sync/main.goReplaces contents of remote directory destination with contents of local directory source
sync user:password@host:port destination sourceFor example, to replace the contents of remote directory /www with those of local directory dist
sync user:password@example.com:22 /www dist