New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

s3fsync

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s3fsync

Command line wrapper around s3-sync

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

s3-folder-sync

Command line wrapper around s3-sync.

Used by LOKE to sync static website content with an S3 bucket.

Usage

s3fsync directory

eg to sync the current directory run:

s3fsync .

This will require the S3 target details to be conigured as environment variables (see below).

Alternatively you can specify the credentials as command line parameters:

s3fsync --key={yourawskey} --secret={yourawssecret} --bucket={yourawsbucket} --region={yourbucketregion}

If it needs to be synced with a subfolder in the bucket use the prefix argument that ends in a trailing /:

s3fsync --prefix=subfolder/ .

Enironment Variables

Instead of specifying via command line, you may specify the S3 target using the following environment variables:

  • AWS_ACCESS_KEY = --key
  • AWS_SECRET_KEY = --secret
  • S3_BUCKET = --bucket
  • S3_REGION = --region
  • S3_PREFIX = --prefix

TODO

More docs, commandline help, file and folder exclusion.

Keywords

s3

FAQs

Package last updated on 12 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts