Skip to content

Instantly share code, notes, and snippets.

@tspicer
tspicer / s3etag.sh
Created December 14, 2016 04:03 — forked from emersonf/s3etag.sh
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