Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cameronhunter/glacier-cli
Amazon AWS Glacier command line interface for Linux, Mac and Windows
https://github.com/cameronhunter/glacier-cli
amazon-glacier aws-glacier glacier-cli java
Last synced: 15 days ago
JSON representation
Amazon AWS Glacier command line interface for Linux, Mac and Windows
- Host: GitHub
- URL: https://github.com/cameronhunter/glacier-cli
- Owner: cameronhunter
- License: mit
- Created: 2012-11-14T16:22:11.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-01-11T18:11:50.000Z (almost 7 years ago)
- Last Synced: 2024-10-12T07:16:07.759Z (about 1 month ago)
- Topics: amazon-glacier, aws-glacier, glacier-cli, java
- Language: Java
- Homepage:
- Size: 69.5 MB
- Stars: 20
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Glacier CLI [![Build Status](https://travis-ci.org/cameronhunter/glacier-cli.svg)](https://travis-ci.org/cameronhunter/glacier-cli)
A command line client to [Amazon Glacier](http://aws.amazon.com/glacier), an extremely low-cost storage service that provides secure and durable storage for data archiving and backup.
## Usage
```bash
$ glacier --helpUsage: glacier [command]
Commands:
upload
download
delete
inventory
vaultsOptions:
-h, --help Show this message
-a, --accessKey AWS Access Key ID
-s, --secretKey AWS Secret Access Key ID
-r, --region AWS Region
```## Commands
Upload `file1.zip` and `file2.zip` to vault `pictures`
```bash
$ glacier-upload pictures file1.zip file2.zip
```Download archive with id `xxx` from vault `pictures` to file `pic.tar` (takes >4 hours)
```bash
$ glacier-download pictures xxx pic.tar
```Delete archive with id `xxx` from vault `pictures`
```bash
$ glacier-delete pictures xxx
```Get the inventory for vault `pictures` (takes >4 hours)
```bash
$ glacier-inventory pictures
```Upload `file1.zip` and `file2.zip` to vault `pictures`
```bash
$ glacier-upload pictures file1 file2
```List vaults
```bash
$ glacier-vaults
```## Advanced Configuration
Provide your AWS credentials by setting `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and `AWS_REGION` environment variables or using properties files:
`~/.aws/credentials`:
```
[default]
aws_access_key_id={YOUR_ACCESS_KEY_ID}
aws_secret_access_key={YOUR_SECRET_ACCESS_KEY}
````~/.aws/config`:
```
[default]
region={YOUR_AWS_REGION}
```