aws s3
CLI for AWS S3 - provides storage through web services interfaces. Some subcommands such as `cp` have their own usage documentation.
More info →Subcommands (9)
Copy local files or S3 objects to another location locally or in S3.
List AWS S3 buckets, folders (prefixes), and files (objects).
Create S3 buckets.
Move local files or S3 objects to another location locally or in S3.
Generate pre-signed URLs for Amazon S3 objects.
Delete an empty S3 bucket.
Delete S3 objects.
Recursively sync files and directories between your local system and an S3 bucket, or between S3 buckets.
Set the website configuration for a bucket. See also: `aws s3`.
Examples (6)
Show files in a bucket
aws s3 ls bucket_nameSync files in a directory from local to bucket
aws s3 sync path/to/directory s3://bucket_nameSync files and directories from bucket to local
aws s3 sync s3://bucket_name path/to/targetSync files in a directory with exclusions
aws s3 sync path/to/directory s3://bucket_name --exclude path/to/file --exclude path/to/directory/*Remove file from bucket
aws s3 rm s3://bucket/path/to/filePreview changes only
aws s3 any_command --dryrun