DanielHindi / aws-s3-zipper

takes an amazon s3 bucket folder and zips it for streaming or serializes to a file
119 stars 74 forks source link

No folder structure inside Zip file #20

Open lipeRomani opened 6 years ago

lipeRomani commented 6 years ago

Hi,

I have the following structure inside my S3 bucket: my-bucket/2018/02/06/...files.json

When the zip file was generated, he creates the folder structure inside the zip: 2018/02/06/..files.json

Has some option to the zip only the files without folder structure?

myZip.zip

instead of:

bojuwhee commented 3 years ago

Hi,

i tried to use folderPath parameter for zipToS3File with true or false or /dirName/ value but i still got folder structure in archive.

e.g. on S3 files are in 1/1/orginals/ => on archive files are in 1/orginals/

How to use folderPath parameter ?

thx