goscp

command
v0.0.0-...-3fe2c6f Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 11 Imported by: 0

README

GO-SCP

A simple binary to help copying files with SCP from any machine (Windows for instance) to any other place using password auth

This tool can only UPLOAD via SCP.

Compile

go build

Running

Copy all images from /home/Pictures that starts with a and ends with png to server-host-name:/tmp:

goscp -host [ssh-server-host-name] -username [user-name] -password [password] -from /home/Pictures -match a*png$ -to /tmp

It is also possible to avoid setting the password from the CLI if GOSCP_PASSWORD env variable is set.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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