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

No folder structure inside Zip file #20

Open
lipeRomani opened this issue Feb 6, 2018 · 1 comment
Open

No folder structure inside Zip file #20

lipeRomani opened this issue Feb 6, 2018 · 1 comment

Comments

@lipeRomani
Copy link

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

  • file1.json
  • file2.json

instead of:

  • 2018/
    - 02/
    -06/
    - file1.json
    - file2.json
lipeRomani pushed a commit to lipeRomani/aws-s3-zipper that referenced this issue Feb 6, 2018
Added new parameter "useCredentials" on constructor to choce if want use key/secret or credentials file on loca folder. Issue DanielHindi#21

Added new parameter "folderPath" on zipToS3File to choce if want bucket folder structure inside zip file or only files. Issue DanielHindi#20

Resolves: DanielHindi#21, DanielHindi#20
@lipeRomani lipeRomani mentioned this issue Feb 6, 2018
@bojuwhee
Copy link

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

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