码迷,mamicode.com
首页 > 其他好文 > 详细

7Zip 来备份重要文件(夹)

时间:2014-07-29 20:46:52      阅读:249      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   color   os   strong   文件   

  1. 7za.exe 复制到 C:\Windows\System32下面
  2. 按时间命名备份bubuko.com,布布扣
  3. 备份前 请退出WIZbubuko.com,布布扣
C:\Users\Administrator\Desktop\7za.exe a C:\Users\Administrator\Desktop\abc.7z C:\Users\Administrator\Desktop\test

set mydate=%date:/=-
7za.exe a C:\archive_%mydate%  D:\Filename
 
 

7-Zip (A) 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06

Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

<Commands>
  a: Add files to archive
  b: Benchmark
  d: Delete files from archive
  e: Extract files from archive (without using directory names)
  l: List contents of archive
  t: Test integrity of archive
  u: Update files to archive
  x: eXtract files with full paths
<Switches>
  -ai[r[-|0]]{@listfile|!wildcard}: Include archives
  -ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
  -bd: Disable percentage indicator
  -i[r[-|0]]{@listfile|!wildcard}: Include filenames
  -m{Parameters}: set compression Method
  -o{Directory}: set Output directory
  -p{Password}: set Password
  -r[-|0]: Recurse subdirectories
  -scs{UTF-8 | WIN | DOS}: set charset for list files
  -sfx[{name}]: Create SFX archive
  -si[{name}]: read data from stdin
  -slt: show technical information for l (List) command
  -so: write data to stdout
  -ssc[-]: set sensitive case mode
  -ssw: compress shared files
  -t{Type}: Set type of archive
  -v{Size}[b|k|m|g]: Create volumes
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
  -w[{path}]: assign Work directory. Empty path means a temporary directory
  -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
  -y: assume Yes on all queries
 




7Zip 来备份重要文件(夹),布布扣,bubuko.com

7Zip 来备份重要文件(夹)

标签:des   style   blog   http   color   os   strong   文件   

原文地址:http://www.cnblogs.com/xe2011/p/3875926.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!