https://github.com/linyows/storing
💽 Storing is the cloud storage upload CLI.
https://github.com/linyows/storing
Last synced: 29 days ago
JSON representation
💽 Storing is the cloud storage upload CLI.
- Host: GitHub
- URL: https://github.com/linyows/storing
- Owner: linyows
- License: mit
- Created: 2022-11-28T13:03:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T14:23:06.000Z (over 2 years ago)
- Last Synced: 2025-04-03T13:00:35.847Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 76.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Storing
==The storing is the cloud storage upload CLI.
It may support AWS S3 if needed, but for now only GCS is supported.Usage
--```sh
$ go install github.com/linyows/storing@latest
$ storing ./testdata/example.jpg -bucket my-bucket-name -key ~/Downloads/my-project-credentials.yml
Blob ./testdata/example.jpg uploaded: https://storage.cloud.google.com///testdata/example.jpg
```Options
--The options are:
```
-bucket string
bucket name
-key string
credentials filepath (default "~/.config/storing.json")
-logrotate
search today's file for logrotate
-prefix string
object prefix (default "//")
-timeout int
timeout seconds for upload (default 50)
```Author
--[linyows](https://github.com/linyows)