GET (download)
To get
a file
sh
s3m get <s3 provider>/<bucket>/file <optional path/file>
If only need to retrieve the metadata from an object without downloading it, use option -m
:
sh
s3m get <s3 provider>/<bucket>/file -m
-f/--force
If the file exist you can force overwrite using option -f
:
sh
s3m get <s3 provider>/bucket/file /tmp/file -f
-k/--kilobytes (max bandwidth)
If need to download at 64KB/s:
sh
s3m get <s3 provider>/bucket/file /tmp/file -k 64