Reputation: 103
Can we list the files with name in Amazon Glacier vault without help of any software in Linux?
I am trying something like this:
aws glacier get-job-output --account-id - --vault-name newone --job-id "VO0zQ7Uvl0LxpG6ZDBMTsRK2td2Sq3BwqVpq_hWVcfgv7UrVC1l3B1PUidrjj85fwihUXwReYR3wcYLHU98ObhOEP5yE" mydata.txt.gz
Upvotes: 2
Views: 2062
Reputation: 3404
Glacier does not store file names so in the response to get-job-output you will see ArchiveId
instead. You can use an archive's ArchiveDescription
field to store filenames and other metadata. Third-party Glacier management tools like FastGlacier do this to make them a bit more user-friendly.
See: How do I use the AWS CLI to view the contents of my Amazon Glacier vault?
Upvotes: 2