커멘드

    [AWS-S3] S3 CLI 명령어 _복사(cp, sync)

    S3 버킷 복사 커맨드 파일이나 폴더를 복사하는 방법에 대해서 알아보자 파일 복사(cp) aws s3 cp "이전복사파일경로" "이후복사경로" # 버킷에 로컬파일을 업로드 $ aws s3 cp test.zip s3://test-bucket-zeus upload: ./bar.txt to s3://test-bucket-inpa/test.zip # 버킷에 다른이름으로 업로드 $ aws s3 cp test.zip s3://test-bucket-zeus/change_name_file.zip upload: ./test.zip to s3://test-bucket-inpa/change_name_file.zip * 로컬에서 버킷, 버킷에서 로컬로 파일 복사할 수 있다. 디렉터리 동기화(sync) 만일 디렉터리 안에 있는..