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.

asked 7 months ago1873 views
1 Answer
0
Accepted Answer

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

answered 7 months ago
profile picture
EXPERT
reviewed 7 months ago
profile pictureAWS
EXPERT
reviewed 7 months ago
  • 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!!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions