I have a directory of files on S3 that was transitioned to glacier. The files were recently restored from Glacier and have not yet expired. I can copy individual files using "aws s3 cp". But, if I attempt to recursively copy the entire directory, the aws cli gives me the following error on all files:
```
warning: Skipping file s3://
$ aws --version
aws-cli/1.11.36 Python/2.6.6 Linux/2.6.32-504.8.1.el6.x86_64 botocore/1.4.93
$ cat /etc/redhat-release
CentOS release 6.6 (Final)
$ aws s3 cp s3://
warning: Skipping file s3://
....
$ aws s3api head-object --bucket
{
"Restore": "ongoing-request="false", expiry-date="Sun, 22 Jan 2017 00:00:00 GMT"",
"AcceptRanges": "bytes",
"ContentType": "binary/octet-stream",
"LastModified": "Fri, 02 Oct 2015 23:41:22 GMT",
"ContentLength": 36,
"VersionId": "Ed6hvaWEg8d.K6m7gwJ_Z4gqOFkYDrrP",
"ETag": ""6009be9a36f7e5d4a47961681e11b5ac"",
"StorageClass": "GLACIER",
"Metadata": {}
}
I needed to use --force-glacier-transfer.
Google led me here for the same error message. It would be nice if that option were suggested in the error message.
how much cost in money it takes on this flag " --force-glacier-transfer." ?
Most helpful comment
Google led me here for the same error message. It would be nice if that option were suggested in the error message.