anchor.diff:      echo "compressed ${FILE}"
   done
   
  +EXIT_CODE=0
   
   for FILE in $( ls *.xz ) ; do
       echo "uploading ${FILE}"
  
positive.code:     S3GO_MIME="application/x-gzip"
      S3GO_SIGNATURE=$( echo -en "PUT\n${S3GO_MD5}\n${S3GO_MIME}\n${S3GO_NOW}\n${S3GO_ACL}\n/${S3_BUCKET}/${S3_PREFIX}${FILE}" | openssl sha1 -hmac "${S3_SECRET_ACCESS_KEY}" -binary | openssl enc -e -base64 )
  
      curl \
          -X PUT \
          -T "$FILE" \
          -H "$S3GO_ACL" \
  
negative.code:         -H "Date: $S3GO_NOW" \
          -H "Content-Type: application/x-gzip" \
          -H "Authorization: AWS ${S3_ACCESS_KEY_ID}:${S3GO_SIGNATURE}" \
          "https://${S3_BUCKET}.${S3_ENDPOINT}/${S3_PREFIX}${FILE}" \
          2>&1 \
      )
  
      if echo "$R1" | grep "<Error>" > /dev/null 2>&1 ; then
          echo "FAILED uploading ${FILE}"
          echo "${R1}"
  
          EXIT_CODE=1
      else
          echo $(date) "uploaded ${FILE}"
  
  
          echo $(date) "removing ${FILE}"
  
          rm "${FILE}"
  
          echo $(date) "removed ${FILE}"
      fi
  done
  
  exit $EXIT_CODE
  