Skip to content

Instantly share code, notes, and snippets.

@emersonf
emersonf / s3etag.sh
Last active April 4, 2025 08:33
A Bash script to compute ETag values for S3 multipart uploads on OS X.
#!/bin/bash
if [ $# -ne 2 ]; then
echo "Usage: $0 file partSizeInMb";
exit 0;
fi
file=$1
if [ ! -f "$file" ]; then