카테고리 없음
[ gcp ] gsutil 명령어
구티맨
2020. 3. 19. 17:22
gsutil gs://my-bucket/*.txt .
: txt 파일 다운로드
gsutil cp *.txt gs://my-bucket
: txt 파일 업로드
gsutil cp -r dir gs://my-bucket
: 전체 폴더 트리를 통채로 복사
gsutil -m cp -r dir gs://my-bucket
: 전체 폴더 트리를 병렬로 업로드
-j 옵션 체크하기
참조
https://cloud.google.com/storage/docs/gsutil/commands/cp
https://cloud.google.com/storage/docs/gsutil/addlhelp/TopLevelCommandLineOptions