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

bucket-copy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bucket-copy

Copy Amazon S3 bucket objects to another bucket.

latest
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

Bucket Copy

Copy Amazon S3 bucket objects to another bucket.

Install

npm install bucket-copy --save

Usage


var BucketCopy = require('bucket-copy');
var bucketCopy = BucketCopy.connect({
  key: 's3-key',
  secret: 's3-secret',
  srcBucket: 'name-of-the-s3-bucket',
  destBucket: 'name-of-the-s3-bucket'
});


// Copy the object(s)

bucketCopy('some_dirctory_in_a_bucket', function (err) {
  // All done and copied, unless you messed up
});

// OR

bucketCopy('some_dirctory_in_a_bucket', 'new_bucket_directory_prefix', function (err) {
  // All done and copied, unless you messed up
});

The directory prefix allows you to put the entire set of copied objects into a new root object when they are copied to the new bucket.

Keywords

amazon

FAQs

Package last updated on 16 Apr 2013

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