Skip to content

Instantly share code, notes, and snippets.

@emersonf
emersonf / s3etag.sh
Last active May 16, 2024 12:30
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