gosync in a container. Use this tool for moving files between the machines and S3 buckets.
AWS_KEY=<YOUR AWS KEY>
AWS_SECRET=<YOUR AWS SECRET>
docker run \
--env aws_key=${AWS_KEY} \
--env aws_secret=${AWS_SECRET} \
-v ${LOCAL_FILE}:/files \
anki/gosync
gosync /files s3://bucket/files
docker run \
--env aws_key=${AWS_KEY} \
--env aws_secret=${AWS_SECRET} \
-v ${LOCAL_FILE}:/files \
anki/gosync
gosync s3://bucket/files /files
docker run \
--env aws_key=${AWS_KEY} \
--env aws_secret=${AWS_SECRET} \
-v ${LOCAL_FILE}:/files \
anki/gosync
gosync s3://source_bucket s3://target_bucket
docker run \
--env aws_key=${AWS_KEY} \
--env aws_secret=${AWS_SECRET} \
-v ${LOCAL_FILE}:/files \
anki/gosync
gosync s3://source_bucket/dir s3://target_bucket/another_dir