https://github.com/fsamin/clide
Cloud storage files management CLI
https://github.com/fsamin/clide
cli golang openstack-swift s3-storage
Last synced: 2 months ago
JSON representation
Cloud storage files management CLI
- Host: GitHub
- URL: https://github.com/fsamin/clide
- Owner: fsamin
- License: apache-2.0
- Created: 2016-11-17T20:12:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T10:47:08.000Z (about 8 years ago)
- Last Synced: 2025-01-30T00:49:35.921Z (4 months ago)
- Topics: cli, golang, openstack-swift, s3-storage
- Language: Go
- Homepage:
- Size: 430 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Clide
Cloud storage files management CLI
[](http://godoc.org/github.com/fsamin/clide/lib) [](https://travis-ci.org/fsamin/clide) [](https://goreportcard.com/report/github.com/fsamin/clide)
Supported providers:
- Openstack Swift: `swift`
- Amazon S3: `s3`## Commands
### Download
Upload multiples containers/buckets to a single local directory with:
```bash
clide download [container 1] ... [container n]
```- `provider` must be on the supported providers
- `destination` is the destination directory.### Upload
Upload files to a container/bucket with:
```bash
clide upload [file 1] ... [file n]
```- `provider` must be on the supported providers
- `destination` is the destination container/bucket. Is it doesn't exist, it will be created by default as a private container/bucket.## About Authentication
Authentication settings can be set with command flags or environment variables. We strongly suggest to set environment variables to use `clide`easily.
### Openstack swift environment variables
```bash
OS_USERNAME
OS_PASSWORD
OS_TENANT_NAME
OS_AUTH_URL
```### Amazon S3 environment variables
```bash
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
```