gdcloud storage cat

이름

gdcloud storage cat - 하나 이상의 URL의 콘텐츠를 stdout에 출력합니다.

개요

gdcloud storage cat [URLS ...]
    [--display-url, -d]
    [--range, -r]
    [--format=FORMAT]
    [--log-http]
    [--verbosity=VERBOSITY] [flags]

EXAMPLES

The following command writes all text files in a bucket to stdout:

    gdcloud storage cat s3://bucket/*.txt

The following command outputs a short header describing file.txt, along with its contents:

    gdcloud storage cat -d s3://my-bucket/file.txt

The following command outputs bytes 256-939 of file.txt:

    gdcloud storage cat -r 256-939 s3://my-bucket/file.txt

The following command outputs the last 5 bytes of file.txt:

    gdcloud storage cat -r -5 s3://my-bucket/file.txt

선택적 플래그

  -d, --display-url        Print the header before each object.
      --log-http           Log all HTTP server requests and responses to stderr.
  -r, --range string       Output just the specified byte range of the
                           object. In a case where "start" = 'x', and "end" = 'y', ranges take the
                           form: x-y (e.g., -r 256-5939), x- (e.g., -r 256-), -y (e.g., -r -5)
                           
                           When offsets start at 0, x-y means to return bytes x through y (inclusive),
                           x- means to return bytes x through the end of the object, and -y changes the
                           role of y. If -y is present, then it returns the last y bytes of the object.
                           
                           If the bytes are out of range of the object, then nothing is printed.
      --verbosity string   Override the default verbosity for this command. VERBOSITY must be one of:
                           debug, info, warning, error, critical, none. (default "warning")

GDCLOUD 전체 플래그

이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).

자세한 내용은 gdcloud CLI 참조 개요 페이지를 참고하세요.