#SyncAWS
This utility fingerprints a given directory using md5 hashes, and uploads it to S3. Subsequent uploads only upload changed files, and the index file links to old files to download any unchanged files.
This project is released under the Apache 2.0. See attached LICENCE.txt
Assuming syncaws is a script to run java -jar syncaws.jar --configDir <configDir> %
syncaws init
- If no syncaws.js config file exists, create a blank
syncaws validate
- Check that the config parses and loads properly
- Test that the aws info (keys, bucket name and base dir) are valid
syncaws create <projectName> <projectDir>
- Adds the project to the config and saves it
- Creates the project dir on S3 and uploads the html and js display files
syncaws status <projectName>
- Update the local index for
projectName
if needed - Compare the local index with the newest uploaded index and list any new files
syncaws upload <projectName>
- Update the local index for
projectName
if needed - Compare the local index with the newest uploaded index and create a list of all new files
- Upload the new index
- Upload all new files
- Update the display files to add the new index as the newest
syncaws list
- List all project names
syncaws version
- Display the version
syncaws help
- Display help