azsync v0.0.1
azsync
A command line tool to efficiently synchronize files between a local directory and azure storage containers, by only uploading/downloading the files that have changed.
Installation
> npm install azsync -gUsage
To add a storage account:
> azsync remote add REMOTE_NAME STORAGE_CONNECTION_STRINGTo list storage accounts:
> azsync remote listOr to see the connection info:
> azsync remote list --verboseTo see if local files are in sync with a container:
> azsync status REMOTE_NAME CONTAINER_NAMETo push local files to a container:
(this will upload the files that have changed, and overwrite the files in the container)
> azsync push REMOTE_NAME CONTAINER_NAMETo pull remote files down to the local folder:
(this will download the files that have changed, and overwrite the files in the local folder)
> azsync pull REMOTE_NAME CONTAINER_NAMETo list the containers for a remote:
> azsync container list REMOTE_NAMETo delete a container on a remote:
> azsync container delete REMOTE_NAME CONTAINER_NAMENote that in all cases where the REMOTE_NAME argument is used, the storage connection string can be used instead.
TODO
- Support snapshotting
- Warn on remote files with no MD5
- Set a default remote/container
- read local & remote files at the same time
- Improve help system
- publish on npm
- allow remote details to be stored in a .azsync file
License
MIT
7 years ago