Upload folders in s3

0

i am trying to upload a folder in a s3 bucker my folder has sub folders and those subfolders have some files and sub folders too now what is happening is that when i try to upload the main folder it has 5 sub folders in it top 4 are ignored and the 5th is just uploaded rest are not being uploaded can you help me out with this issue

  • how are you trying to upload them? CLi, Console. 3rd Party app?

2 Answers
2

Hi,

The most efficient way to do that at scale is via CLI (much faster than console for large folders). I personally use aws s3 sync <local-dir> s3://<bucket-name>/<bucket-path>

See for all options: https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html

Best

Didier

profile pictureAWS
EXPERT
answered 5 months ago
profile pictureAWS
EXPERT
iBehr
reviewed 5 months ago
0
AWS
answered 4 months ago

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