CLI for copying static files to an S3-compatible storage system.
The CLI uses the AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
environment
variables for authentication.
$ s3-copy --help
Usage of s3-copy:
-app-version string
Application version to tag files with.
-bucket string
Bucket name
-endpoint string
AWS endpoint
-region string
AWS region (default "us-east-1")
For the spaces endpoint https://my-space.nyc3.digitaloceanspaces.com/
, the
copy command would be:
s3-copy -bucket my-space -endpoint nyc3.digitaloceanspaces.com