1.1.0 • Published 6 years ago

t29-rsync v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

SFTP-rsync

The purpose of this application is to sync from a remote_path down to the project root directory using the sublime SFTP packages sftp-config.json file. Rsync uses a combination of date+contents hash to identify if a file has changed.

Installation

This app requires node, I recommend grabbing the latest stable releast (LTS) which at the time of writing this is 8+

nodejs.org

Just install this package globally so that you can run it from anywhere

npm install -g t29-rsync

Running

Then to run the file just go to a project directory where you have a sftp-config.json file and run the command

t29-rsync

Flags

To delete items locally that are not on the remote server, use the --delete flag

t29-rsync --delete

In order to sync all files/folders except for .git folders (ignoring the default exclusions) add the --force flag

t29-rsync --all

To ignore the date+contents hasing used to identify if a file has changed and download all files regardless --force

t29-rsync --force

and it will sync down all modified files/new files from the path listed in the remote_path section of the sftp-config.json

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago