http://apps.hi.baidu.com/share/detail/37384818
Download ADT link
Http://dl.google.com/android/ADT-0.9.6.zip
Download SDK link
http://dl.google.com/android/android-sdk_r11-linux_x86.tgz (Can get detailed file name through FQ, and then download via link)
Tar
-C: Create compressed archives
-X: Unzip
-T: View content
-r: Append files to the end of a compressed archive file
-U: Update files in original compressed package
These five are stand-alone commands, which are used to compress and decompress, and can be used with other commands but only one of them. The following parameters are available on the basis of the need to compress or unzip the file.
-Z: With gzip properties
-j: With the bz2 attribute
-Z: With the Compress attribute
-V: Show All procedures
-O: Unpack the file to standard output
The following number of parameters-F is required
-F: Use the name of the file, remember that this is the last parameter, only the file name can be followed.
# TAR-CF All.tar *.jpg
This command is to make all. jpg files into a package named All.tar. -C is the file name that represents the generation of a new package,-f specifies the package.
# TAR-RF All.tar *.gif
This command adds all. gif files to the All.tar package. -R means to add a file.
# Tar-uf All.tar logo.gif
This command is to update the original tar package All.tar in the logo.gif file,-U is to indicate the meaning of the update file.
# TAR-TF All.tar
This command is to list all the files in the All.tar package,-T is the meaning of the list file
# TAR-XF All.tar
This command is to solve all the files in the All.tar package,-X is the meaning
Compression
TAR–CVF Jpg.tar *.jpg//package all JPG files in the folder into Tar.jpg
TAR–CZF jpg.tar.gz *.jpg//package all JPG files in the folder into Jpg.tar, and compress them in gzip to generate a gzip compressed package named jpg.tar.gz
TAR–CJF jpg.tar.bz2 *.jpg//package all JPG files in the folder into Jpg.tar, and then compress them in bzip2 to generate a bzip2 compressed package named jpg.tar.bz2
TAR–CZF jpg.tar.z *.jpg//package all JPG files in the folder into Jpg.tar, and then compress them in compress to generate a umcompress compressed package named Jpg.tar.z
RAR a jpg.rar *.jpg//rar format compression, you need to download RAR for Linux first
Zip jpg.zip *.jpg//zip format compression, you need to download the zip for Linux first
Extract
TAR–XVF File.tar//Unpacking the TAR Package
TAR-XZVF file.tar.gz//Decompression tar.gz
TAR-XJVF file.tar.bz2//Decompression tar.bz2
TAR–XZVF file.tar.z//Unzip tar. Z
Unrar e file.rar//decompression rar
Unzip File.zip//Unzip zip
Summarize
1, *.tar with TAR–XVF decompression
2, *.gz with gzip-d or gunzip decompression
3, *.tar.gz and *.tgz with TAR–XZF decompression
4, *.bz2 with bzip2-d or with BUNZIP2 decompression
5, *.tar.bz2 with TAR–XJF decompression
6, *. Z Extract with Uncompress
7, *.tar. Z Extract with Tar–xzf
8, *.rar with Unrar e decompression
9, *.zip with unzip decompression