Created
December 11, 2019 08:45
-
-
Save BacancyPratik/f2d9815a1273344d256aa3268fbdbbea to your computer and use it in GitHub Desktop.
Copy files using s3 cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copy single file to s3 bucket | |
aws s3 cp file.txt s3://<your bucket name> | |
# Copy multiple files from directory or directory | |
aws s3 cp <your directory path> s3://<your bucket name> --recursive | |
# --recursive flag to indicate that all files must be copied recursively. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment