티스토리 뷰

카테고리 없음

[ 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

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함