s3 command line download file code example
Example 1: download s3 files cli
aws s3 cp s3://mybucket . --recursive
Example 2: how to download a file from s3 cli
$ aws s3 cp s3://samplebucket/somefolder/afile.txt .
aws s3 cp s3://mybucket . --recursive
$ aws s3 cp s3://samplebucket/somefolder/afile.txt .