Skip to main content

s3deploy

Project description

Deploy static sites or upload files to s3.

Simply pass your aws access key, aws secret key, the name of the bucket you want to upload to, and the directory the files are stored in.

Current possible command line arguements are:

--access-key, -a, 'AWS Access Key'
--secret-key, -s, 'AWS Secret Key'
--bucket, -b, 'Name of the bucket to upload to'
--directory, -d, 'Name of the directory where the files or folders you want to upload are stored'`

Upload

s3deploy will upload everything contained in that folder, including more folders. It will also keep the structure. So,

.
├── parent/
  ├── file
  └── child/
    └── file

will look like this inside your bucket:

.
├── /
  ├── file
  └── child/
    └── file

Currently, files and folders will be uploaded to the base directory of the bucket.

Example usage of upload:

s3deploy -b bucket-name -a aws-access-key -s aws-secret-key -d parent/

Delete

s3deploy also contains a delete command, s3delete.

Currently this deletes the entire contents of your S3 bucket. It takes your aws access key, aws secret key, and the name of the bucket to delete from.

Example usage of s3delete:

s3delete -b bucket-name -a aws-access-key -s aws-secret-key

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

S3D-1.0.0.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file S3D-1.0.0.tar.gz.

File metadata

  • Download URL: S3D-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for S3D-1.0.0.tar.gz
Algorithm Hash digest
SHA256 74b9047e23e936e392bbb6b1cd34348ae16a328d772a98e25775bd52eb9d373f
MD5 220db69028b1b5f45c12d15e4b5c4f5a
BLAKE2b-256 6c268077c9fd01351bfbcaae41392b65bf2b3cb74b676d3eabfb25c67f01c79f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page