Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The --name and --description Parameters Have no Effect on Archive Names #159

Open
alanedwardes opened this issue Mar 29, 2014 · 0 comments

Comments

@alanedwardes
Copy link

Hello,

The below calls both result in the same output:

~: /usr/local/bin/glacier-cmd upload --name Day_1/testing.txt backupvault /path/to/test.txt
Wrote 9.0 bytes. Rate 29.00 bytes/s. Rate 7.34 MB/s, average 66.00 bytes/s, ETA 14:23:18.
+--------------------------+------------------------------------------------------------------+
|          Header          |                              Value                               |
+--------------------------+------------------------------------------------------------------+
| Archive SHA256 tree hash | ef417326f45e61f31ec764c2052f442b9490321a8d0886b8f92050a3ee8ec7dc |
|      Uploaded file       |                        /path/to/test.txt                         |
+--------------------------+------------------------------------------------------------------+
 ~: /usr/local/bin/glacier-cmd upload --description Day_1/testing.txt backupvault /path/to/test.txt
Wrote 9.0 bytes. Rate 34.00 bytes/s. Rate 8.72 MB/s, average 78.00 bytes/s, ETA 14:23:28.
+--------------------------+------------------------------------------------------------------+
|          Header          |                              Value                               |
+--------------------------+------------------------------------------------------------------+
| Archive SHA256 tree hash | ef417326f45e61f31ec764c2052f442b9490321a8d0886b8f92050a3ee8ec7dc |
|      Uploaded file       |                        /path/to/test.txt                        |
+--------------------------+------------------------------------------------------------------+

glacier-cmd doesn't use the --name or --description parameter to name the uploaded archive. This is very troublesome if absolute file names are supplied, such as /home/user/location/testing.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant