Video-8 AWS S3 Part 3 [ How to Manage Bucket and Data ]

Описание к видео Video-8 AWS S3 Part 3 [ How to Manage Bucket and Data ]

This topic describes some of the commands you can use to manage Amazon S3 buckets and objects using the aws s3 commands in the AWS CLI. For commands not covered in this topic and additional command examples, see the aws s3 commands in the AWS CLI Reference.

The high-level aws s3 commands simplify managing Amazon S3 objects. These commands enable you to manage the contents of Amazon S3 within itself and with local directories.

Command Line Reference:
aws s3 sync /local/directory s3://your-bucket-name
aws s3 sync s3://your-bucket-name /local/directory
aws s3 sync "C:\\path\\to\\your\\folder" s3://your-bucket-name
aws s3 sync s3://app1.itpspro.com . --exclude="*" --include=index.html
aws s3 sync /local/directory s3://your-bucket-name --delete
aws s3 sync /local/directory s3://your-bucket-name --dryrun
aws s3 sync /local/directory s3://your-bucket-name --storage-class STANDARD_IA
aws s3 rm s3://your-bucket-name/path/to/your-file.txt
aws s3 rm s3://your-bucket-name/folder-name/ --recursive
aws s3 rb s3://your-bucket-name --force # if bucket is not empty
aws s3 rb s3://your-bucket-name

#awscli #awss3

Комментарии

Информация по комментариям в разработке