1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > Linux用7zip解压缩7z分卷文件

Linux用7zip解压缩7z分卷文件

时间:2023-08-24 23:48:04

相关推荐

Linux用7zip解压缩7z分卷文件

Linux用7zip解压缩7z分卷文件

一、主要注意e 和x参数,e不保持目录结构,x保持目录结构。

xxx:~$ 7z -h7-Zip [64] 9.20 Copyright (c) 1999- Igor Pavlov -11-18p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...][<@listfiles...>]<Commands>a: Add files to archiveb: Benchmarkd: Delete files from archivee: Extract files from archive (without using directory names)l: List contents of archivet: Test integrity of archiveu: Update files to archivex: 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-t{Type}: Set type of archive-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options-v{Size}[b|k|m|g]: Create volumes-w[{path}]: assign Work directory. Empty path means a temporary directory-x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames-y: assume Yes on all queries

二、解压格式

7z e data.7z 不保持目录结构7z x data2.7z 保持目录结构

三、解压由7zip生成的分卷,解压方法7z x xxbs.7z.001

xxx$ ls -rtl-rw-rw-r-- 1 tomcat tomcat 196905932 11月 21 05:12 xxbs.7z.001-rw-rw-r-- 1 tomcat tomcat 1048576000 11月 21 05:20 xxbs.7z.002-rw-rw-r-- 1 tomcat tomcat 1048576000 11月 21 05:20 xxbs.7z.0003.....-rw-rw-r-- 1 tomcat tomcat 75563008 11月 21 05:22 xxbs.7z.011

四、实际操作

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。