Step 1: Create an AWS Account
Step 2: Download and Install AWS CLI
Step 4: Interacting with S3 Buckets
List bucket contents:
aws s3 ls s3://bucket-name
Download a file:
aws s3 cp s3://bucket-name/file.png ./
Upload a file:
aws s3 cp ./localfile.txt s3://bucket-name/poc.txt
Copy a File:
aws s3 cp test.txt s3://bucket_name
To move a file to a bucket:
aws s3 mv test.txt s3://bucket_name
Delete command:
aws s3 rm s3://qa-media.company/fileName.txt
To Dump Data:
aws s3 sync . s3://[bucketname]