Skip to content
Snippets Groups Projects
Commit b6522aad authored by nimrod's avatar nimrod
Browse files

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

parent cb3dbbec
Branches
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment