How to download an object from an S3 bucket using s3cmd?

To download an object from an S3 bucket using s3cmd, you can use the following command:

s3cmd get s3://bucket-name/object-key local-file-path

Replace "bucket-name" with the name of your S3 bucket, "object-key" with the key of the object you want to download, and "local-file-path" with the path where you want to save the downloaded file on your local system.

Here's an example command:

s3cmd get s3://my-bucket/my-object.txt /path/to/save/my-object.txt

This will download the object "my-object.txt" from the S3 bucket "my-bucket" and save it to "/path/to/save/my-object.txt" on your local system.