The following are the compressed decompressed commands in Linux for reference.
. Tar
Unpack: Tar xvf filename.tar
Package: Tar CVF filename.tar dirname tar CVF a.tar a.txt B .txt c.txt
(Note: tar is packed, not compressed !)
---------------------------------------------
. GZ
Decompress 1: gunzip filename.gz
Decompress 2: gzip-D filename.gz
Compression: gzip filename
.Tar.gz and. tgz
How to decompress rar and zip files in Centos
Zip-r data.zip data
Explanation: The data folder is compressed into the data.zip format.
Unzip data.zip
Description: Decompress the data.zip file to the current folder.
Below are some detailed descriptions
1. I want to compress a file abc.txtand a directory dir1into yasuo.zip:
# Zip-r yasuo.zip abc.txt dir1
2. I downloaded a yasuo.zip file and want to
Java API: use Java nbsp; API to compress and decompress data. Javascript tutorial
Many data sources contain redundant data or useless data for storing information. This often results in massive data transmission between clients and server applications or computers. Obviously, the solution to data storage and information transmission problems is to install auxiliary storage devices and expand existing communication devices. However, to achieve this, y
Php uses the ZipArchive function to compress and decompress files ,. Php uses the ZipArchive function to compress and decompress files. PHPZipArchive is an extension class provided by PHP. it can easily compress and decompress ZIP files, before using PHP, make sure that php uses the ZipArchive function to compress and decompr
Decompress the tar package for basic Linux knowledge
(1) decompress the tar package with the suffix bz2:Bzip2-D gcc-4.1.0.tar.bz2--- After decompression, run the tar package decompression command.(2) http://linux.chinaunix.net/bbs/archiver/tid-1014580.htmlAdd the M parameter to tar.Tar xjmvf// Make the timestamp error unavailable(3) Get the tar package:I. parse the Linux application software instal
Decompress the 7Zip special compression algorithm file and the 7zip Compression Algorithm in the Java project.1. Problem DescriptionJava Web backend downloads a zip file compressed by a special algorithm. Because java itself cannot be used to decompress the file, you must use 7Zip to decompress the file. Therefore, this article mentioned the problem of calling ex
Recently, we developed a small program that uses gzipstream in. Net to compress and decompress the GZIP file. Gzipstream is easy to use under system. Io. compression. Although gzipstream is a lower-level class of the stream class, it is equivalent to only one converter. Convert data into compressed or decompressed data between two streams. The following is a simple example: static void main (string [] ARGs) {string inputfilename = @ "testfile/test.doc
Use the boost: iostreams library to compress and decompress data.-Bo Cheng's blog-blog channel-csdn. net
Use the boost: iostreams library to compress and decompress data
Category: boost
92 people reading
Comment (0)
Favorites
Report Boostboostiostreams
In today's project, we are going to use gzip to compress the data and find the boost: iostreams library. Therefore, we checked
talk about the basic usage of the tar command:
There are many options for the tar command (which can be viewed using man TAR), but there are several commonly used options. The following is an example:
# Tar-CF all.tar *. jpgThis command is to pack all. jpg files into a package named all.tar. -C indicates that a new package is generated.-F specifies the package file name.
# Tar-RF all.tar *. gifThis command adds all .gif files to the package of all.tar. -R indicates adding files.
# Tar-UF all.ta
[Java Basics] use the java.util.zip package to compress and decompress filesThe import java.util.zip. * package in Java API contains all Java operations on compressed files. We can use the methods in this package to perform File compression and decompression operations based on the relevant knowledge in IO. Each compressed file in ZipFilejava can be represented by ZipFile.
File file = new File ("F:/zippath.zip"); ZipFile zipFile = new ZipFile (file);
Install the decompressed MySql version on Windows 10 (recommended) and decompress mysql
Decompress mysql win10
Download and decompress
Mysql: Download link for version 5.7.13 (you can download it directly through the zip link on the official website without having to register an Oracle account)
Decompress the mysql-5.7
. bz .tar.bz2. zip. cpio. rpm. deb. slp. arj. rar. ace. lha. lzh. lzx. lzs. arc. sda. sfx. lnx. zoo. cab. kar. cpt. pit. sit. seaDecompress: sEx x FileName .*Compression: sEx a FileName. * FileName
SEx only calls related programs and does not support compression or decompression. Please note!For sEx, go to http://sourceforge.net/projects/sexto download it!After decompression, copy sEx to the/usr/bin directory (Other Directories specified by the $ PATH environment variable can also be used ):[Roo
. Tar unpack: tarxvfFileName.tar package: tarcvfFileName.tar DirName (note: tar is packed, not compressed !) Mdash;
. TarUnpack: tar xvf FileName.tarPackage: tar cvf FileName.tar DirName(Note: tar is packed, not compressed !)---------------. GzDecompress 1: gunzip FileName.gzDecompress 2: gzip-d FileName.gzCompression: gzip FileName
.Tar.gz and. tgzDecompress: tar zxvf FileName.tar.gzCompression: tar zcvf FileName.tar.gz DirName---------------. Bz2Decompress 1: bzip2-d FileName.bz2Decompress 2:
PHPZipArchive is a PHP Extension class that can easily compress and decompress ZIP files. before using PHPZIP, make sure that the extension is enabled, methods for enabling PHP amplification on different platforms are available online. if you have any questions, please contact us. Here are some common examples of using phpzipArchive to compress and decompress files. I.
Php compression and decompression of strings. Php compression and decompression of strings This article describes how to compress and decompress strings in php. Share it with you for your reference. The following php code uses gzcompr php to compress and decompress strings:
This document describes how to compress and decompress strings in php. Share it with yo
During website migration, too many files in the website directory will consume a lot of time, so we need to use the compression and decompression commands, such as, I need to back up the/home/wwwroot folder, however, because wwwroot contains tens of thousands or even more files, you need to use the zip command to compress the wwwroot file and then transfer it:
CD/wwwroot
Zip-r wwwroot.zip wwwroot
OK ,the wwwrootfile is compressed into the wwwroot.zip format, which is uploaded an
I have previously written how to apply c # to compress and decompress swf files, decompress, compress, and read flash header file information. an open source link Library is required, and the application is not very convenient, but the application of php is different. php contains the link library of zlib, which can be directly applied to its coherence function, the following is an example of how to use c #
The linux unzip command can decompress a zip file in windows.
Unzip command
Syntax: unzip [Option] compressed file name. Zip
The meanings of each option are as follows:
-X file list: Decompress the file, but does not include the specified file.
-V.
-T whether the test file is damaged, but the pressure is not solved.
-D directory: Decompress the compressed
How to decompress RAR files in windows in linux 1. How to decompress rarfiles compressed in WINDOWS, and how to decompress files on LINUX? By default, rarfiles cannot be decompressed in linux, install RAR compression software for linux. 2, for: http://www.rarlab.com/download.htm is currently the latest version of 4.2.0. 3, download and
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.