Commit b6522aad authored by nimrod's avatar nimrod
Browse files

AWS CLI alias for fetching the etag of an S3 object.

parent cb3dbbec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,3 +12,4 @@ metadata-region = !python3 << EOF
du = s3 ls --recursive --human-readable --summarize
enable_ena = ec2 modify-instance-attribute --ena-support --instance-id
assume-role = !assume-role
s3-etag = !f() { aws s3api head-object --bucket "$1" --key "$2" --query 'ETag' --output text | xargs; }; f