uskudnik / amazon-glacier-cmd-interface

Command line interface for Amazon Glacier
MIT License
374 stars 100 forks source link

Compression/Encryption File Filters #49

Closed halfaleague closed 11 years ago

halfaleague commented 11 years ago

It would be useful to have the ability to compress/encrypt files or groups of files. Either through user plugins or built in. Any thoughts on this?

wvmarle commented 11 years ago

Have your script compress/encrypt file before presenting it to glacier-cmd.

offlinehacker commented 11 years ago

@wvmarle is right. You could do something like this openssl aes-192-cbc -salt -in .glacier | gzip -f | glacier-cmd --name filename Test "Some description" and to decript use glacier-cmd --vault Test filename | gzip -d | openssl aes-192-cbc -d -salt -out filename.

This should be put in docs.

wvmarle commented 11 years ago

It's in the docs. Can be closed.