AWS-SDK/client-s3 Extracting and reading gzip files

46 Views Asked by At

I have a large number of .gzs files - these files are not very big but there are about 100 of them - on a AWS S3 bucket. I need to pull them, unzip the file, read the content of the files and apply some filter, save those that pass the filter into memory and finally delete the file(s) on S3.

Env:

  • @aws-sdk/client-s3 v3.513.0 SDK
  • Node v16.4.2

Any advice is greatly appreciated.

0

There are 0 best solutions below