首页 > 其他 > 详细

tar压缩/解压、加密压缩/解密解压

时间:2015-08-15 23:04:37      阅读:689      评论:0      收藏:0      [点我收藏+]

压缩

tar -czvf /path/to/file.tar.gz file

解压

tar -xzvf /path/to/file.tar.gz /path/to

加密压缩

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 -

版权声明:本文为博主原创文章,未经博主允许不得转载。

tar压缩/解压、加密压缩/解密解压

原文:http://blog.csdn.net/yanglishuan/article/details/47687139

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!