Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/au-re/gzip-upload
zip and post a folder to an endpoint
https://github.com/au-re/gzip-upload
Last synced: 8 days ago
JSON representation
zip and post a folder to an endpoint
- Host: GitHub
- URL: https://github.com/au-re/gzip-upload
- Owner: au-re
- Created: 2020-05-05T09:10:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-23T02:14:18.000Z (10 months ago)
- Last Synced: 2024-04-23T05:54:56.696Z (10 months ago)
- Language: JavaScript
- Size: 548 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cloud upload
This utility library facilitates uploading folders to google cloud storage.
## Usage
options
|param|description |
|---|---|
|bucketName| name of the bucket on google cloud to upload to |
|sourceFolder|folder to read files from|
|targetFolder|folder (in the bucket) to write files to. The folder is created if it doesn't exist|
|predefinedAcl|what access control should the file receive, e.g. publicRead|
|keyFilename| name of the serviceKey file, you need this file |example
```sh
cloud-upload --bucketName test.example.com --keyFilename ./keyfile.json --sourceFolder lib --targetFolder my-project --predefinedAcl publicAccess
```