Search

S3

버킷 생성하기

aws s3 mb s3://<BucketName>
Shell
복사

버킷 목록 가져오기

aws s3 ls
Shell
복사

S3 버킷에 있는 파일가져오기

aws s3 sync s3://<BucketName> <Directory>
Shell
복사

S3 버킷에 파일 업로드

aws s3 cp <File> s3://<BucketName>
Shell
복사

버킷 정책 가져오기

aws s3api get-bucket-policy --bucket <BucketName> \ --query "Policy" --output text | jq -r | jq .
Shell
복사

버킷 구조 가져오기

aws s3 ls s3://<BucketName>/ --recursive | awk '{print $4}'
Shell
복사