Linux-tar加密压缩解压

xingyun86 2022-11-14 478

Linux-tar加密压缩解压

1、加密压缩

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

2、解密解压

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


×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回