Hi try to sync a local directory to a S3 bucket. The files in the directory get synced perfectly, just the directory isn't created at all. Can you guys give me a hint how to do it?
"newdir" contains two textfiles. These are copied to the bucket just fine.
upload: newdir/test.txt to s3://aaa-stuff/test.txt
upload: newdir/test1.txt to s3://aaa-stuff/test1.txt
I used the following command:
aws s3 sync newdir/ s3://aaa-stuff --sse --storage-class "REDUCED_REDUNDANCY" --acl "private"
I want that the files get copied to the directory s3://aaa-stuff/newdir
.