Linux下用zip给文件加密

[root@AS-1 tools]# tar -cvf wanghp1.cap.tar ./wanghp1.cap 
./wanghp1.cap
[root@AS-1 tools]# zip -P 12345 -m wanghp.cap.zip wanghp1.cap.tar 
  adding: wanghp1.cap.tar (deflated 89%)

加密完成,密码是12345.

解密过程

[root@AS-1 tools]# unzip wanghp.cap.zip 
Archive:  wanghp.cap.zip
 

发表评论

邮箱地址不会被公开。 必填项已用*标注

机器人检查 *

分享我的最新文章标题到这里

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据