AWS - Access S3 Bucket using AWS CLI command
Download folder from AWS s3 :
aws s3 cp "source_file_path" "destination_file_path"
aws s3 cp --recursive s3://<s3_path> <local_directory_path>
Upload folder to AWS s3 :
aws s3 cp "source_file_path" "destination_file_path"
aws s3 cp --recursive <local_directory_path> s3://<s3_path>
Upload single file to S3 bucket :
aws s3 cp "source_file_path" "destination_file_path"
aws s3 cp <local_directory_path>/file.txt s3://<s3_path>/file.txt
Download single file from S3 bucket :
aws s3 cp "source_file_path" "destination_file_path"
aws s3 cp s3://<s3_path>/file.txt <local_directory_path>/file.txt