sftpsync

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 17 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, argv []string, outStream, errStream io.Writer) error

Run the sftpsync

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL