Download an Object

Prev Next
s3cmd [-c CONFIGFILE] get s3://BUCKET/OBJECT LOCAL_FILE

CONFIGFILE

Configuration file. Defaults to $HOME/.s3cfg

BUCKET

Bucket from which to retrieve stored object

OBJECT

Object to download

LOCAL_FILE

The local file path to download to

Example

Download the file file.zip from the bucket bucket.zip.

$ s3cmd -c vast.s3cfg get s3://mybucket/file.zip file.zip