No description, website, or topics provided.
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
.gitignore
README.md
sync-ftp.sh

README.md

sync-ftp

Requirements:

This script requires lftp. To install on Mac OS X, obtain brew http://mxcl.github.io/homebrew/ and run the following command:

brew install lftp

That will install dependencies needed and the lftp application. An update might be needed for this to work in which case you can run brew update.

Usage:

./sync-ftp.sh config-file.sh source-path deploy-path [protocol]

Example:

./sync-ftp.sh config/environment.sh /source/path /deploy/path sftp

Note: See config directory for example.

The script will ignore .DS_Store and local files in the uploads directory when deploying.

Author: Richard Sumilang me@richardsumilang.com