It’s just some quick command if you would like to copy to and from S3.
aws s3 ls s3://mys3bucket/folder/subfolder/
aws s3 cp s3://mys3bucket/folder/subfolder/testfile .
aws s3 cp s3://mys3bucket/folder/subfolder . –recursive
aws s3 cp –recursive s3://mys3bucket/folder s3://mys3target/folder
There is also a good s3 copy command that you can use: https://github.com/aws-samples/amazon-s3-resumable-upload
Note: If you would like to do a mass copy to S3 and auto resumable and very reliable, I recommend you to try SFTP for S3, Kinesis Firehose, AWS DataSync, and my favorite is AWS Storage Gateway.
Best,
Doddi