Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3268664
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类:

2010-09-27 16:53:10

[oracle@atyu30 tmp]$ man zip

       -P password
              use password to encrypt zipfile entries (if any).  THIS IS INSECURE!  Many multi-user operating systems  provide
              ways for any user to see the current command line of any other user; even on stand-alone systems there is always
              the threat of over-the-shoulder peeking.  Storing the plaintext password as part of a command line in  an  auto-
              mated  script  is  even  worse.   Whenever possible, use the non-echoing, interactive prompt to enter passwords.
              (And where security is truly important, use strong encryption such as Pretty Good Privacy instead of  the  rela-
              tively weak encryption provided by standard zipfile utilities.)

[oracle@atyu30 tmp]$ zip -P '123456' sql.zip sql/
  adding: sql/ (stored 0%)

zip 加密压缩可以使用脚本进行批量处理
阅读(2267) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

obsd1782010-09-28 12:47:41

坦白告诉你 zip 加密没有用 想加密的话 gpg  或 openssl
我都是 用 openssl 加密