[问题]能不能制作通用的分卷压缩包

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
头像
lyre
帖子: 77
注册时间: 2005-06-28 18:08

[问题]能不能制作通用的分卷压缩包

#1

帖子 lyre » 2007-03-12 22:28

恩恩,如题
我知道tar有分卷压缩的命令,不过让windows的用户怎么解压呢- -?

zip和rar能分卷不?
雕啸长空
帖子: 1897
注册时间: 2006-09-12 14:09

#2

帖子 雕啸长空 » 2007-03-12 22:50

应该都可以,rar我用过,不过记不清了,搜索吧
Fair winds and following seas !
slash1117
帖子: 265
注册时间: 2006-02-27 9:20

#3

帖子 slash1117 » 2007-03-12 23:03

winrar可以解tar的吧。tar分卷压缩的命令?怎么用啊,俺不知道呢,俺都是split。如果是split的话,7zip能不能解啊?
头像
lyre
帖子: 77
注册时间: 2005-06-28 18:08

#4

帖子 lyre » 2007-03-13 12:30

说的就是split……反正winrar我是不知道怎么弄。。。有空试试7zip
头像
stlxv
论坛版主
帖子: 8275
注册时间: 2006-05-03 0:39
来自: المريخ

#5

帖子 stlxv » 2007-03-14 15:59

很容易使用滴,具体自己看下面咯

代码: 全选

stlxv@stlxvcomputer:~/sunstudio12/bin$ rar --help

RAR 3.51   Copyright (c) 1993-2005 Alexander Roshal   7 Oct 2005
Registered to Hector Carayiannis

Usage:     rar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

<Commands>
  a             Add files to archive
  c             Add archive comment
  cf            Add files comment
  cw            Write archive comment to file
  d             Delete files from archive
  e             Extract files to current directory
  f             Freshen files in archive
  i[par]=<str>  Find string in archives
  k             Lock archive
  l[t,b]        List archive [technical, bare]
  m[f]          Move to archive [files only]
  p             Print file to stdout
  r             Repair archive
  rc            Reconstruct missing volumes
  rn            Rename archived files
  rr[N]         Add data recovery record
  rv[N]         Create recovery volumes
  s[name|-]     Convert archive to or from SFX
  t             Test archive files
  u             Update files in archive
  v[t,b]        Verbosely list archive [technical,bare]
  x             Extract files with full path

<Switches>
  -             Stop switches scanning
  ad            Append archive name to destination path
  ag[format]    Generate archive name using the current date
  ap<path>      Set path inside archive
  as            Synchronize archive contents
  av            Put authenticity verification (registered versions only)
  av-           Disable authenticity verification check
  c-            Disable comments show
  cfg-          Disable read configuration
  cl            Convert names to lower case
  cu            Convert names to upper case
  df            Delete files after archiving
  dh            Open shared files
  ds            Disable name sort for solid archive
  e[+]<attr>    Set file exclude and include attributes
  ed            Do not add empty directories
  en            Do not put 'end of archive' block
  ep            Exclude paths from names
  ep1           Exclude base directory from names
  ep3           Expand paths to full including the drive letter
  f             Freshen files
  hp[password]  Encrypt both file data and headers
  id[c,d,p,q]   Disable messages
  ierr          Send all messages to stderr
  ilog[name]    Log errors to file (registered versions only)
  inul          Disable all messages
  isnd          Enable sound
  k             Lock archive
  kb            Keep broken extracted files
  m<0..5>       Set compression level (0-store...3-default...5-maximal)
  mc<par>       Set advanced compression parameters
  md<size>      Dictionary size in KB (64,128,256,512,1024,2048,4096 or A-G)
  ms[ext;ext]   Specify file types to store
  n<file>       Include only specified file
  n@            Read file names to include from stdin
  n@<list>      Include files in specified list file
  o+            Overwrite existing files
  o-            Do not overwrite existing files
  ol            Save symbolic links as the link instead of the file
  ow            Save or restore file owner and group
  p[password]   Set password
  p-            Do not query password
  r             Recurse subdirectories
  r0            Recurse subdirectories for wildcard names only
  rr[N]         Add data recovery record
  rv[N]         Create recovery volumes
  s[<N>,v[-],e] Create solid archive
  s-            Disable solid archiving
  sfx[name]     Create SFX archive
  si[name]      Read data from standard input (stdin)
  t             Test files after archiving
  ta<date>      Process files modified after <date> in YYYYMMDDHHMMSS format
  tb<date>      Process files modified before <date> in YYYYMMDDHHMMSS format
  tk            Keep original archive time
  tl            Set archive time to latest file
  tn<time>      Process files newer than <time>
  to<time>      Process files older than <time>
  ts<m,c,a>[N]  Save or restore file time (modification, creation, access)
  u             Update files
  v             Create volumes with size autodetection or list all volumes
  v<size>[k,b]  Create volumes with size=<size>*1000 [*1024, *1]
  ver[n]        File version control
  vn            Use the old style volume naming scheme
  vp            Pause before each volume
  w<path>       Assign work directory
  x<file>       Exclude specified file
  x@            Read file names to exclude from stdin
  x@<list>      Exclude files in specified list file
  y             Assume Yes on all queries
  z<file>       Read archive comment from file
PHP是最好的语言!不服来战!
头像
lyre
帖子: 77
注册时间: 2005-06-28 18:08

#6

帖子 lyre » 2007-03-16 13:38

谢谢楼上的,才发现suse的安装源里面只有unrar,没有rar
头像
wickyl
帖子: 28
注册时间: 2006-11-22 9:41
来自: Shenzhen
联系:

#7

帖子 wickyl » 2007-03-21 10:11

因为unrar解压缩功能在rar中完全可以使用。所以unrar没有必要安装

rar分卷压缩1m
rar a -v1024k dest.rar source.rar

rar解压
rar e source.rar

谁可以告诉我tar的分卷命令?(不用split)
别怪我盗墓……
Linux is a user-friendly os, but she's picky for her friends.
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#8

帖子 eexpress » 2007-03-21 11:25

tar
-M, --multi-volume
建立多卷存档,以便在几个磁盘中存放

7zip强些吧
● 鸣学
回复