The user-provided path folder-path does not exist.

0

Hi I am trying to run a simple sync command from cloudshell. I'm following the instructions that I found on the AWS help center in this article: https://docs.aws.amazon.com/cloudshell/latest/userguide/multiple-files-upload-download.html To be sure of the path, i went to the properties of my bucket and copied the path from there, the path is s3://thesmallstyleshop/keep/ The cmd i typed in cloudshell was: aws s3 sync folder-path s3://thesmallstyleshop/keep/

I get a return of The user-provided path folder-path does not exist..

I'd appreciate it if someone could point out what i am doing wrong!! Thanks in advance, Michelle

Note: I don't know if it is a real bad thing to give the details of my bucket, but at this point i am frustrated and there is nothing in there that anyone couldn't see.

1 Resposta
0
Resposta aceita

You were close. Check the docs on s3 sync: https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html

s3 sync, syncs a local or s3 file path TO another local or s3 file path.

To sync one s3 bucket path to another bucket path:

aws s3 sync s3://thesmallstyleshop/keep/ s3://thesmallstyleshopcopy/keep/

To sync a local folder to your s3 bucket

aws s3 sync /documents/my-folder/  s3://thesmallstyleshop/keep/

There are various other examples you can take a look at here: https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html#:~:text=is%2060%20seconds.-,Examples,-%C2%B6

respondido há 7 meses
profile picture
ESPECIALISTA
avaliado há 7 meses
profile pictureAWS
ESPECIALISTA
avaliado há 7 meses
  • Thanks! But i was so tired of messing around with AWS that i just downloaded the S3 browser and that worked like a charm! I just hate that i have spent so much time over the past 3 weeks trying to figure everything out!!

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas