Linux comes with a unzip program can unzip the file, the decompression command is: Unzip Filename.zip also provides a ZIP program compressed zip file, command is zip filename.zip files Files will be compressed to Filename.zip also look at the suffix of your
Linux decompression rar file (Unrar installation and use, sub-volume decompression)Windows platform A lot of compressed documents for RAR files, then how to do Linux decompression rar file (Unrar installation and use)?Simple, CENTOS5 installation Unrar can be. Unrar Installation methods are as follows:wget HTTP://DAG.WIEERS.COM/RPM/PACKAGES/UNRAR/UNRAR-3.6.8-1.EL5.RF.I386.RPM;RPM-UVH unrar-3.6.8-1.el5.rf.i3
unzip the file via the right-click menu:
Right click on the selected one or more compressed files, in the popup context menu, select "Extract Files ...", in the new "Extract Files" window, set the decompression options, click "OK" to extract the operation. If the extracted files are saved in the current folder, you can also do this by selecting "Extract to Current Folder".
Data.zip file has more than 4G, decompression when the problem.
Archive:data.zip
End-of-central-directorysignature not found. Either Thisfile is not
A zipfile, or itconstitutes one disk of a multi-partarchive. In the
latter case the centraldirectory and ZipFile comment would be found on
The last disk (s) of thisarchive.
Unzip:cannot find Zipfiledirectory in one of Bbs.zip or
Data.zip.zip,and cannot find Data.zip.ZIP, p
My zip file content is a Chinese name, there are passwords, find several solutions on the Internet only one can, so here's a record:The first is to install 7zip to decompress, 7zip solution here, but can't solve my problem, still have garbled problemFinally, the solution is found here.The process is as follows:1,Lsar test.zipAll files are listed (lsar-list archive file contents) and the
I use the more reliable, also relatively simple, where archiver is very powerful, support ZIP format tar format, only need to provide a path to compress the existing folder.Compression:1 varFS = require (' FS ');2 varArchiver = require (' archiver '));3 4 varOutput = Fs.createwritestream (' Archiver-unzip.zip ');5 varArchive = archiver (' Zip ');6 7Archive.on (' Error ',function(err) {8 Throwerr;9 });Ten One archive.pipe (output); A Archive.bulk ([ -{src: [' archiver/** ']} - ]); theArchive
CEN decompress the. ZIP file and search a lot of methods on the Internet, using System. IO. compression. GZipStream uses the J # library function and the Java-based library function. However, many of them are not very good. In the end, it is still the System function System. shell. folder. copyHere (oItem [, intOptions]) is the best choice. The specific method is as follows:
1. Add the reference Shell32.dll, which can be found in Windows \ system32.2.
Today, in the Linux server to extract a zip compression package, the following error message: [Email protected] zip_bcsa_courses]#Unzipbcsa_medias_bak_20161118.ZipError:zipfileToo big (greater than4294959102bytes) archive:bcsa_medias_bak_20161118.Zipwarning [bcsa_medias_bak_20161118.Zip]:31450041244Extra bytes at beginning or within ZipFile (attempting to process anyway) error [bcsa_medias_bak_20161118.Zip]: Start of Central directory is not found; ZipFile corrupt. (Please check the transferred
#!/usr/bin/env python#-*-coding:utf-8-*- fromZipFileImport*ImportZipFile#Unzip the zip filedefunzip (): Source_zip="C:\\update\\sw_servers_20120815.zip"Target_dir="c:\\update\\"Myzip=ZipFile (source_zip) myfilelist=myzip.namelist () forNameinchMyfilelist:f_handle=open (Target_dir+name,"WB") F_handle.write (myzip.read (name)) F_handle.close () myzip.close ()#add a file to an existing ZIP packagedefAddzip ()
Tar. download the source code file in linux and install tar in some cases. the decompression of the xz Z file is used to tar decompression. the xz file is still a bit confusing. google is as follows. to decompress the files in this format, you need the xz tool. if The xz tool is not installed, install it... tar. download the source code
CEN decompress the. ZIP file and search a lot of methods on the Internet, using System. IO. compression. GZipStream uses the J # library function and the Java-based library function. However, many of them are not very good. In the end, it is still the System function System. shell. folder. copyHere (
OItem
[
,
IntOptions. The specific method is as follows:
1. Add the reference Shell32.dll, which can be found in Windows \ system32.2. Add the method.
First, send the unpacking package to the Linux server:1. After downloading the. tar.gz file on the WinDOS, send it to Linux via the SFTP client such as WinSCP2. Direct download via wget command in Linux#wget [Options] []wget Common parameters:-B: Background download (default download to current directory)-O: Save the downloaded file with a custom name. The downloaded fi
file content can be seen, actually useful only 4 filesThe rar and Unrar Two executables are moved to the/usr/local/bin directory, the rarfiles.lst configuration files are moved, and the default.sfx File to the appropriate directory.4, when we installed RAR, now to do is the RAR file compression and decompression. The common operations commands are as follows:[[e
/b.txtstudy/a/study/a/a/study/a/d/[[emailprotected] ~]$ lskernel linux study 2. Package and use gzip compression[[emailprotected] ~]$ lskernel linux study study.tar[[emailprotected] ~]$ tar -zcvf study.tar.gz study/ 使用 gzip 压缩study/study/a.cstudy/b.txtstudy/a/study/a/a/study/a/d/[[emailprotected] ~]$ lskernel linux study study.tar 3. Package and use BZIP2 compressiontar -jcvf study.tar.bz2 study/4. View a list of compressed files[[emailprotected] ~]$ lskernel linux study study.tar
1. Unzip:The software package with the tar.gz extension under Linux is a package that is packaged with a tar program and compressed with the GZIP program. To install this package, the package needs to be decompressed, the package can be decompressed using "TAR-ZXFV filename.tar.gz" , and the extracted files are in a directory named filename. Into the directory, you can see the extracted files.2. Installation:After the extract command is executed, there is a "Install"
Tags: color span str Decompression compiled kernel strong compressed file col tarToday try to compile the kernel, downloaded to a tar.xz end of the compressed file, online solution is less, but still found, as follows:
$XZ-D * * *. Tar.xz
$tar-XVF ***.tar
You can see that this package is also packaged and then compressed, the outside is the XZ compression method, the inner layer is the tar packag
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.