s3cmd restore giving error "no option -a"

71 views Asked by At

I'm following the command from s3tools.org site, example provided for -s parameter.

but getting an error...

➜ s3cmd restore "s3://xxasdx-xxasdx-saip/originals" -s -days:7
Usage: s3cmd [options] COMMAND [parameters]

s3cmd: error: no such option: -a

What am I doing wrong here?!

1

There are 1 answers

0
Sai Puli On

Apologies for the bad question, it was my stupidity. I was looking at s3express documentation while using s3cmd tool.

Both tools produced by s3tools.org and the left menu is a little confusing with only one item named "Manual". For the s3cmd it's called usage.