- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
$ gunzip mydatagz $ ls mydata in Software
$ gunzip mydatagz $ ls mydata Printing Code 3/9 In None Using Barcode creator for Software Control to generate, create USS Code 39 image in Software applications. Scanning Code 39 Full ASCII In None Using Barcode reader for Software Control to read, scan read, scan image in Software applications. TIP On your desktop, you can extract the contents of an archive by locating it with the file manager
Code-39 Creation In C# Using Barcode printer for Visual Studio .NET Control to generate, create USS Code 39 image in .NET framework applications. Code 3/9 Creation In .NET Framework Using Barcode generation for ASP.NET Control to generate, create ANSI/AIM Code 39 image in ASP.NET applications. and double-clicking it You can also right-click and choose Open with Archive Manager This will start the File Roller application, which will open the archive, listing its contents You can then choose to extract the archive File Roller will use the appropriate tools to decompress the archive (bzip2, zip, or gzip) if compressed, and then extract the archive (tar) You can also compress archived tar files This results in files with the extensions targz Compressed archived files are often used for transmitting extremely large files across networks Draw Code39 In Visual Studio .NET Using Barcode drawer for Visual Studio .NET Control to generate, create Code 39 Extended image in Visual Studio .NET applications. Print Code 39 Extended In Visual Basic .NET Using Barcode generator for .NET Control to generate, create Code 3/9 image in Visual Studio .NET applications. $ gzip myarchtar $ ls myarchtargz
USS Code 128 Generation In None Using Barcode creation for Software Control to generate, create ANSI/AIM Code 128 image in Software applications. Paint European Article Number 13 In None Using Barcode generator for Software Control to generate, create EAN13 image in Software applications. PART II
Draw GS1 128 In None Using Barcode maker for Software Control to generate, create USS-128 image in Software applications. UPC A Creator In None Using Barcode generator for Software Control to generate, create UPC-A Supplement 5 image in Software applications. Option -c
Encode Bar Code In None Using Barcode drawer for Software Control to generate, create bar code image in Software applications. ECC200 Drawer In None Using Barcode maker for Software Control to generate, create DataMatrix image in Software applications. Execution Sends compressed version of file to standard output; each file listed is separately compressed: gzip -c mydata preface > myfilesgz Decompresses a compressed file; or you can use gunzip: gzip -d myfilesgz gunzip myfilesgz Displays help listing Displays compressed and uncompressed size of each file listed: gzip -l myfilesgz Recursively searches for specified directories and compresses all the files in them; the search begins from the current working directory When used with gunzip, compressed files of a specified directory are uncompressed For each compressed or decompressed file, displays its name and the percentage of its reduction in size Determines the speed and size of the compression; the range is from 1 to 9 A lower number gives greater speed but less compression, resulting in a larger file that compresses and decompresses quickly Thus 1 gives the quickest compression but with the largest size; 9 results in a very small file that takes longer to compress and decompress The default is 6 Bookland EAN Printer In None Using Barcode maker for Software Control to generate, create Bookland EAN image in Software applications. 2D Barcode Creator In VB.NET Using Barcode drawer for .NET Control to generate, create Matrix 2D Barcode image in VS .NET applications. -h -l file-list -r directory-name
Print Code 128A In None Using Barcode encoder for Online Control to generate, create Code-128 image in Online applications. UCC.EAN - 128 Maker In Objective-C Using Barcode generation for iPad Control to generate, create EAN / UCC - 13 image in iPad applications. -v file-list
Painting Barcode In Objective-C Using Barcode generator for iPhone Control to generate, create barcode image in iPhone applications. Data Matrix 2d Barcode Recognizer In Visual Basic .NET Using Barcode scanner for Visual Studio .NET Control to read, scan read, scan image in Visual Studio .NET applications. -num
Printing Barcode In None Using Barcode printer for Office Excel Control to generate, create barcode image in Excel applications. Universal Product Code Version A Generator In Objective-C Using Barcode maker for iPhone Control to generate, create UPC Code image in iPhone applications. TABLE 6-7 The gzip Options
Part II: The Linux Shell and File Structure
You can compress tar file members individually using the tar z option that invokes gzip With the z option, tar invokes gzip to compress a file before placing it in an archive Archives with members compressed with the z option, however, cannot be updated, nor is it possible to add to them All members must be compressed, and all must be added at the same time The compress and uncompress Commands
You can also use the compress and uncompress commands to create compressed files They generate a file that has a Z extension and use a different compression format from gzip The compress and uncompress commands are not that widely used, but you may run across Z files occasionally You can use the uncompress command to decompress a Z file The gzip utility is the standard GNU compression utility and should be used instead of compress Compressing with bzip2
Another popular compression utility is bzip2 It compresses files using the BurrowsWheeler block-sorting text compression algorithm and Huffman coding The command line options are similar to gzip by design, but they are not exactly the same (See the bzip2 Man page for a complete listing) You compress files using the bzip2 command and decompress with bunzip2 The bzip2 command creates files with the extension bz2 You can use bzcat to output compressed data to the standard output The bzip2 command compresses files in blocks and enables you to specify their size (larger blocks give you greater compression) As when using gzip, you can use bzip2 to compress tar archive files The following example compresses the mydata file into a bzip compressed file with the extension bz2: $ bzip2 mydata $ ls mydatabz2
To decompress, use the bunzip2 command on a bzip file: $ bunzip2 mydatabz2
Using Zip
Zip is a compression and archive utility modeled on PKZIP, which was used originally on DOS systems Zip is a cross-platform utility used on Windows, Mac, MS-DOS, OS/2, Unix, and Linux systems Zip commands can work with archives created by PKZIP and can use Zip archives You compress a file using the zip command This creates a Zip file with the zip extension If no files are listed, zip outputs the compressed data to the standard output You can also use the - argument to have zip read from the standard input To compress a directory, you include the -r option The first example archives and compresses a file:
|
|