かれ4

かれこれ4個目のブログ

S3においてある、でかいファイルの1行目だけ取り出す

aws s3api get-object --bucket ${bucket-name} --key  path/to/data  /dev/stdout | head -n 1