This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
easy-s3 with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Easy folder syncing to S3
easy-s3 help [COMMAND]
display help for easy-s3
USAGE $ easy-s3 help [COMMAND] ARGUMENTS COMMAND command to show help for OPTIONS --all see all commands in CLI
See code: @oclif/plugin-help
easy-s3 sync FROM TO
sync a folder to s3
USAGE $ easy-s3 sync FROM TO ARGUMENTS FROM The local or S3 folder to sync from. TO The local or S3 folder to sync to. OPTIONS -a, --acl=public-read|private (required) [default: public-read] The access control list permissions to apply when syncing. -c, --profilesFile=profilesFile (required) [default: /home/travis/.aws/credentials] AWS profiles file to be used. -h, --help show CLI help -m, --maxAge=maxAge (required) [default: 86400] The maximum age to be applied to the `CacheControl` header for uploaded objects. -p, --profile=profile (required) [default: default] AWS profile in the credentials file to be used. -r, --region=region (required) [default: us-east-1] AWS region the S3 bucket is contained within. EXAMPLE $ easy-s3 sync static s3://s3.myapp.com/static Uploading files...
See code: src/commands/sync.ts