tar 加密压缩和解密解压

加密压缩

tar -czvf - file | openssl des3 -salt -k password -out /path/to/file.tar.gz

解密解压

openssl des3 -d -k password -salt -in /path/to/file.tar.gz | tar xzf -

posted @ 2018-02-03 19:10  thammer  阅读(1272)  评论(0编辑  收藏  举报