Linux tar加密压缩命令

加密压缩

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

解密解压

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

解压例子:

openssl des3 -d -k mima123 -salt -in Tools.tar.gz | tar xzf -


猜你喜欢

转载自blog.csdn.net/ivansuntech/article/details/81032484