tar加密

 

加密压缩
cd /tmp
tar -czvf - ./outputdat | openssl des3 -salt -k Rs34YmiER4 -out /tmp/output.tar

 

解密解压
openssl des3 -d -k Rs34YmiER4 -salt -in /tmp/output.tar | tar zxvf -

posted @ 2022-01-22 17:04  slnngk  阅读(123)  评论(0)    收藏  举报