andrewrk / node-s3-client

high level amazon s3 client for node.js
MIT License
1k stars 303 forks source link

Add param to uploadDir to avoid uploading some files #220

Closed ddoice closed 4 years ago

TTATPuOT commented 5 years ago

@andrewrk can you aprove this pull request? Very useful feature.

murilopolese commented 5 years ago

I'm not related to this package but I believe you are searching for getS3Params on client.uploadDir(params).

(optional) getS3Params - function which will be called for every file that needs to be uploaded. You can use this to skip some files. See below.

Would that solve your problem?