unzip utility

Learn about unzip utility, we have the largest and most updated unzip utility information on alibabacloud.com

Zip compression and unzip decompression commands in Linux

Tags: content folder use check gid JPG results user parameters1. Compress the MyData directory below the/home directory to Mydata.zipZip-r Mydata.zip MyData #压缩mydata目录2. Unzip the mydata.zip under the/home directory into the Mydatabak directoryUnzip mydata.zip-d Mydatabak3, the home/home directory below the ABC folder and 123.txt compression becomes abc123.zipZip-r abc123.zip ABC 123.txt4, the Home/home directory below the Wwwroot.zip directly extrac

PHP utility function: stream_context_create () Analog post/get

PHP utility Function Manual: Stream_context_create () Analog post/get Sometimes, we need to simulate post/get on the server side, that is, in the PHP program to implement the simulation, how to do it? Or, in a PHP program, give you an array, how do you post/get this array to another address? Of course, it's easy to use curl, so what if you don't use the Curl library? In fact, there are already related functions implemented in PHP, this functi

Python Utility script Set

Iscriptis a set of scripts written by peterding God on GitHub, consisting of most python scripts and a handful of GM scripts. contains the following scripts: xiami.py -Download or play high quality shrimp music (xiami.com) pan.baidu.com.py -Baidu Network disk download, offline download, upload, play, dump, file operation bt.py -Magnet torrent, and filter sensitive. Words 115.py -115 download and playback of the network disk yunpan.360.cn.py -360 download of the network disk musi

IOS Xcode Utility Plugin

own effect is only in the variable or class name add a dashed line, usually look at the code is very uncomfortable, recently decisively for Xcode wrote a syntax highlighting plug-in, but the function is very limited, It's not so easy to use as eclipse, and it doesn't make any difference to the scope of the object. Share it with what you need. Download the attachment, unzip and put in: Your user/library/application Support/developer/shared/xcode/plug-

Java Zip and Unzip demo

The directory structure is as follows:Import Java.io.file;import java.io.fileinputstream;import java.io.fileoutputstream;import java.io.IOException; Import Java.nio.file.path;import Java.nio.file.paths;import Java.util.zip.zipentry;import Java.util.zip.zipinputstream;import Java.util.zip.zipoutputstream;public class Zipdemo {public static void main (Strin G[] Args {try {//zipfolder ("/home/hadoop/test";); Unzip ("/home/hadoop/mytest/test.zip

Linux installation zip/unzip/g++ and other software

Recently, the company newly configured a 64-bit cloud server, to deploy the time found that there is no installation of Zip/unzip compression decompression software.So I have to install the two software, Linux is best used or yum. Two instructions are installed.First list the Software installation package:#yum List |grep Zip/unzipA bunch of installation package names will appear. Then it is installed directly.#yum Install Zip# Yum Install unzipOK, now

Linux Unzip command Daquan

. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and. tgzDecompression: Tar zxvf FileName.tar.gzCompression: Tar zcvf FileName.tar.gz DirName———————————————. bz2Decompression 1:bzip2-d filename.bz2Decompression 2:BUNZIP2 filename.bz2Compression: Bzip2-z FileName. tar.bz2Decompression: Tar jxvf FileName.tar.bz2C

Linux under the unzip command Daquan

. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and. tgzDecompression: Tar zxvf FileName.tar.gzCompression: Tar zcvf FileName.tar.gz DirName———————————————. bz2Decompression 1:bzip2-d filename.bz2Decompression 2:BUNZIP2 filename.bz2Compression: Bzip2-z FileName. tar.bz2Decompression: Tar jxvf FileName.tar.bz2C

PHP Unzip the package file to the specified directory implementation

$SRC _file as the file path, upload the file back to the compressed package pathPublic function Unzip ($src _file, $dest _dir=false, $create _zip_name_dir=true, $overwrite =true) {$filePath _arr = [];if ($zip = Zip_open ($src _file)) {if ($zip) {$splitter = ($create _zip_name_dir = = = True)? "." : "/";if ($dest _dir = = = False) {$dest _dir = substr ($src _file, 0, Strrpos ($src _file, $splitter)). " /";}If the Create target decompression directory d

Linux zip compression and unzip decompression usage detailed

Generally speaking, zip is more general, whether under Windows or Linux, zip can be easily compressed and decompression.Here are two more commonly used compression commands and decompression commands.Compress Zip Mypackge.zip-r/var/test/ Compresses all files in the/var/test/directory, including subfolders and files, into Mypackge.zip -R represents a recursive subdirectory Decompression Unzip mypackge.zip-d/var/test2/ Extract the Mypackge.zip int

PHP utility Function Manual: Stream_context_create () Analog post/get

PHP utility Function Manual: Stream_context_create () Analog post/get Sometimes, we need to simulate post/get on the server side, that is, in the PHP program to implement the simulation, how to do it? Or, in a PHP program, give you an array, how do you post/get this array to another address? Of course, it's easy to use curl, so what if you don't use the Curl library? In fact, there are already related functions implemented in PHP, this functi

Linux Unzip compressed files

---------------------------------------------. tgzDecompression: Tar zxvf filename.tgzCompression: Unknown. tar.tgzDecompression: Tar zxvf FileName.tar.tgzCompression: Tar zcvf FileName.tar.tgz FileName---------------------------------------------. zipDecompression: Unzip Filename.zipCompression: Zip Filename.zip DirName---------------------------------------------. rarDecompression: rar a Filename.rarCompression: R ar e filename.rarRAR please to: htt

Linux under the unzip command Daquan

. TarUnpacking: Tar xvf filename.tar pack: Tar cvf filename.tar DirName (Note: Tar is packaged, not compressed!) )———————————————. GZDecompression 1:gunzip filename.gz Decompression 2:gzip-d filename.gz compression: gzip FileName. tar.gz and. tgzDecompression: Tar zxvf FileName.tar.gz compression: Tar zcvf FileName.tar.gz DirName ———————————————. bz2Decompression 1:bzip2-d filename.bz2 Decompression 2:bunzip2 filename.bz2 compression: Bzip2-z FileName. tar.bz2Decompression: Tar jxvf FileName.tar

Java Decompression Technology (II) GZIP compression-Unzip (

. junit.testpublic void Testgzip () throws IOException {byte[] bytes = " Alex Everyone Karma card crash of a AH the card of the death of the crash of the feeling open on the AO trench Assad gas The song of the third tick tick tick tick ticking ". GetBytes ();//bytes Compression// Verify the compression effect comparison System.out.println ("before compression:"); System.out.println (bytes.length); for (byte b:bytes) {System.out.print (b + "");} System.out.println (); SYSTEM.OUT.PRINTLN ("compres

Linux Unzip command Daquan

Linux unzip command . tar unpacking: tar xvf test.tar pack: tar CVF Test.tar DirName (note: Tar is packaging, not compression! . gzdecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzcompression:gzip FileName. tar.gz and . tgzdecompression:tar zxvf FileName.tar.gzcompression:tar zcvf FileName.tar.gz DirName. bz2decompression 1:bzip2-d filename.bz2Decompression 2:bunzip2 filename.bz2compression: bzip2-z FileName. tar.

Linux Unzip command

formatDecompression: [*******]$ tar zxvf filename.tgz11-.TAR.TGZ formatDecompression: [*******]$ tar zxvf FileName.tar.tgzCompression: [*******]$ tar zcvf FileName.tar.tgz FileName12-.zip formatDecompression: [*******]$ unzip Filename.zipCompression: [*******]$ zip Filename.zip DirName13-.lha formatDecompression: [*******]$ lha-e Filename.lhaCompression: [*******]$ lha-a Filename.lha FileName14-.rar formatDecompression: [*******]$ rar a Filename.rarC

Post a Java read HDFs unzip the gz zip tar.gz saved to HDFs code

Package Main.java;Import java.io.*;Import java.util.LinkedList;Import java.util.List;Import java.util.zip.*;Import org.apache.commons.compress.archivers.ArchiveException;Import Org.apache.commons.compress.archivers.ArchiveInputStream;Import Org.apache.commons.compress.archivers.ArchiveStreamFactory;Import Org.apache.commons.compress.archivers.tar.TarArchiveEntry;Import java.io.IOException;Import Java.net.URI;Import Org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream;Import org

About the unzip operation of the RAR file under Linux

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:[[email protected]52013515201351. rar // view action V[t[a],b] verbosely list Archive contents [Technical[all],bare] [Email

Linux ubuntu12.04 unzip the Chinese zip file, after decompression garbled

" Open normally under Windows, while open in Linux will be garbled, its solution for the terminal input:Iconv-f gbk-t UTF8 y05 document. txt > y05 document. Txt.utf8Then open the "y05 document. Txt.utf8" This file, the text see the garbled problem solved.Unzip the win environment packaging RAR file garbled ( due to the encoding, in Windows packaging of the Chinese file, after extracting garbled, prompt for invalid encoding format, because Windows is GBK encoding format, and Ubuntu under the def

Linux under unzip command

DirNameTen. tgz formatDecompression: [*******]$ tar zxvf filename.tgzOne. tar.tgz formatDecompression: [*******]$ tar zxvf FileName.tar.tgzCompression: [*******]$ tar zcvf FileName.tar.tgz FileName. zip formatDecompression: [*******]$ Unzip Filename.zipCompression: [*******]$ zip filename.zip DirNameLHA formatDecompression: [*******]$ lha-e Filename.lhaCompression: [*******]$ lha-a Filename.lha FileNameRAR formatExtract:[*******]$ RAR a Filena

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.