Skip to content
Daemon to copy local file(s) to a destination sftp server.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test/src
Makefile
README.md
sftp-watcher.sh

README.md

Daemonized SFTP sync'er

Running

Daemon to watch local directory for changes and
upload them via sftp.

Usage: sftp-watcher.sh [-v] -s <source_dir_path> -u <sftp_username> -h <destination_host> -P <destination_port> -p <destination_path> -t <temporary_path>

Testing

Spin up a local sftp server using docker:

make docker/run
sftp -P 2222 foo@localhost

Stop docker server:

make docker/stop

See Also

You can’t perform that action at this time.