Reputation: 1
I have a s3 Bucket which keeps update with .zip and .gz files. I have read-only permissions on that bucket. I want to extract the compressed files and move them to another s3 bucket. But i don't see any command for extracting the compressed files in the AWS CLI. Can i use the unix commands for doing the same? I have gone through the aws s3 cli : http://docs.aws.amazon.com/cli/latest/userguide/using-s3-commands.html
Upvotes: 0
Views: 1351
Reputation: 24583
S3 is 'dumb'. You can't ask it to-do things for you like creating an image thumbnail or compress/decompress files.
You will need to download the compressed file and do it yourself. This is a much faster operation if you use an EC2 instance (rather than fetching it outside Amazon's network).
Upvotes: 1