Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I unzip downloaded data on S3? #98

Open
AliAzG opened this issue Apr 28, 2024 · 1 comment
Open

How can I unzip downloaded data on S3? #98

AliAzG opened this issue Apr 28, 2024 · 1 comment

Comments

@AliAzG
Copy link

AliAzG commented Apr 28, 2024

Hello everyone,

I'm downloading a package on S3 bucket using following command:

downloadcmd -dp 1227376 -s3 s3://bucket

Now the problem is, the downloaded file is a large zip file (~36 GB). I've tried many different ways (like writing lambda functions) to extract its data, but it seems it is almost impossible to unzip such a huge file using the methods I've tried.

is there any solution to unzip data or download unzipped data directly using nda-tools?

Thanks in advance.

@jrussell9000
Copy link

This is a longstanding problem with S3 buckets - there's no built-in function to unpack compressed files. Lambda functions are usually recommended, BUT they have a file size limit of 1024MB. The best way to do this (to the best of my knowledge) is to download the file to an EC2 instance, decompress it, and put the contents back on S3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants