2017-12-11 S3においてある、でかいファイルの1行目だけ取り出す AWS S3 aws s3api get-object --bucket ${bucket-name} --key path/to/data /dev/stdout | head -n 1