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: about 1 year 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 (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-01-11T18:11:50.000Z (over 8 years ago)
- Last Synced: 2025-03-01T23:01:39.836Z (over 1 year ago)
- Topics: amazon-glacier, aws-glacier, glacier-cli, java
- Language: Java
- Homepage:
- Size: 69.5 MB
- Stars: 19
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Glacier CLI [](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 --help
Usage: glacier [command]
Commands:
upload
download
delete
inventory
vaults
Options:
-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}
```