Skip to content

natureglobal/sftpsync

Repository files navigation

sftpsync

Test Status Coverage Status MIT License PkgGoDev

sftpsync short description

Synopsis

% SFTP_PASSWORD=xxxx sftpsync -P 2222 -src ./public -dst htdocs user@example.com

Description

Installation

# Install the latest version. (Install it into ./bin/ by default).
% curl -sfL https://raw.githubusercontent.com/natureglobal/sftpsync/main/install.sh | sh -s

# Specify installation directory ($(go env GOPATH)/bin/) and version.
% curl -sfL https://raw.githubusercontent.com/natureglobal/sftpsync/main/install.sh | sh -s -- -b $(go env GOPATH)/bin [vX.Y.Z]

# In alpine linux (as it does not come with curl by default)
% wget -O - -q https://raw.githubusercontent.com/natureglobal/sftpsync/main/install.sh | sh -s [vX.Y.Z]

# go get
% go install github.com/natureglobal/sftpsync/cmd/sftpsync@latest

Author

Songmu