We use aws s3 sync to upload deb packages from EBS to S3
|
aws s3 sync "$REPO_DIR/" "s3://hhvm-downloads/${DISTRO_BASE}/" --exclude '*' --include '*.deb' --include '*.orig.tar.gz' |
|
aws s3 sync "$REPO_DIR/" "s3://hhvm-downloads/${DISTRO_BASE}/" |
According to the document, aws s3 sync will compare the content of all the 2TB files even when we just added 5GB files. It would be good to avoid checking the 2TB files.