This is a very small blogpost about how to copy objects from S3 and to S3. The blog post assumes AWS CLI is installed and configured, and the user has appropriate permissions.
The command is simple and strightforward:
> aws s3 cp <src> <dest>
If copying from current computer to s3 an example would be:
> aws s3 cp "/path/file.zip" "s3://<BucketName>/Path/destinationFile.zip"
If copying from s3 to localhost the source and destination would be reversed.
> > aws s3 cp "s3://<BucketName>/Path/destinationFile.zip" "/path/file.zip"