Leonardo Bonetti
Leonardo Bonetti

Reputation: 177

AWS S3 CLI error when my key has blank space

When I run the following code in PowerShell or CMD:

aws s3 cp s3://repositorioimagens/ampliacao/BR/1022-IKON IMAGES/STOCK239/ . --recursive

I receive the following error:

Unknown options .

Because of the part 1022-IKON IMAGES of string has a blank space, how can I especify to AWS that this part has a blank space ?

Upvotes: 0

Views: 477

Answers (1)

Mornor
Mornor

Reputation: 3783

You should use ""

aws s3 cp "s3://repositorioimagens/ampliacao/BR/1022-IKON IMAGES/STOCK239/" . --recursive

Upvotes: 1

Related Questions