Answers for "copy folder from s3 to local"

4

aws copy folder from local to s3

Recursively copying local files to S3

When passed with the parameter --recursive, the following cp command recursively copies all files under a specified directory to a specified bucket and prefix while excluding some files by using an --exclude parameter. In this example, the directory myDir has the files test1.txt and test2.jpg:

aws s3 cp myDir s3://mybucket/ --recursive --exclude "*.jpg"
Posted by: Guest on April-28-2020
1

copy folder from s3 to local

aws s3 cp s3://myBucket/dir localdir --recursive
Posted by: Guest on April-21-2020

Code answers related to "copy folder from s3 to local"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language