Skip to content

Routine for combining more files than the max that storage allows.

License

Notifications You must be signed in to change notification settings

devilelephant/google-storage-big-combine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-storage-big-combine

Rationale: Google Storage java api's bucket.combine() method has a limit of 30 or so files.

There are use cases where there are more than the max-allowed parts so a utility method to iterate and comnbine is required

Prerequisites

You already know how to install and use the Google Cloud Storage javascript api

Usage:

const {combine} = require('google-storage-big-combine')

< Create your instance of google storage >

let bucket =  <GCS bucket instance> 
let fileList = <list of GCS files> 
let file = <destination GCS file for the combine>

await combine(bucket, fileList, file)

About

Routine for combining more files than the max that storage allows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •