Apple Mac computer compression and decompression file and folder method
1, if you need to deal with the file is not on the desktop, then you need to first click on the "Go to"---"Computer"
2, in the Computer window on the left, there are "All My Folders", "Application", "desktop" ... Pictures these options. You can only manipulate the files or folders in these options. I need to compress the "ITunes" fo
Many people like Mac know that this OS does not like win on WinRAR or hao123 decompression and other similar software, for the compression and decompression of files is not convenient, after downloading RAR file package will be helpless, it is extremely embarrassing, in order to avoid this situation, self-help, clothed. Go to http://www.rarlab.com/download.htm this site to download the unpacking Kit RAROSX
Reference link Address: http://macplay.leanote.com/post/55182a1b58157b2c72000000Sometimes we may need to unpack the PKG format of the installation package, the OS X system to complete the operation does not require you to install additional software, the system built-in commands can be. The steps are also relatively simple:
:::bash
xar-xfSetup.pkg
cat mac-screenshot-gotd.pkg/Payload|cpio-i
How to
How to decompress iso files in Linux and decompress iso files in linux
In Linux, how does one extract iso files? You can use the mount command to process
[Root @ DB-Server tmp] # ls/tmp/rhel-server-5.7-x86_64-dvd.iso
// Tmp/rhel-server-5.7-x86_64-dvd.iso
[Root @ DB-S
How to decompress Or package files in linux and decompress files in linux
Use the tar command to compress or decompress the package. Format: tar [Option] [file]
Package and compress the file: tar-czvf compressed package name .tar.gz
D
Java decompress zip-multiple files (including folders)
Compress multiple files and folders to decompress complicated file directories.
The compression method uses variable parameters. one or more files can be compressed. Arrays can be written or written to the parameter list
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 ):[Root @ www2 TMP] # cp sex/usr/bin/
Common file decompression methods and commands in LinuxSystem-System 1. Files with. A extension:# Tar XV file.2. files
the compression and decompression functions. 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 ):[Root @ www2 TMP] # cp sex/usr/bin/
Common file decompression methods and commands in LinuxSystem-System1. Files with. A extension:# Tar XV file.2. files
We often hear the phrase "compressed file", what is this all about? Originally in order to the computer's available resources can be fully utilized to minimize the storage space, usually compressed after the file is not compressed one-tenth of the file. Compressing files later is more convenient for file delivery. We can compress multiple files into one file using the compression tool "WinZip" above the mac
all the backup files, and compression, backup file name usr.tar.gz.
$ tar czvf usr.tar.gz/home
Example 3: Restore and decompress usr.tar.gz this backup file.
$ tar xzvf usr.tar.gz
Example 4: View the contents of the Usr.tar backup file and display it on the monitor in a split-screen manner.
$ tar TVF Usr.tar | More
To back up a file to a specific device, simply use the device name as the backup file
Java.io.FileInputStream;Import Java.io.FileOutputStream;Import java.io.IOException;Import Java.io.InputStream;Import java.util.Enumeration;Import Java.util.zip.ZipEntry;Import Java.util.zip.ZipFile;Import Java.util.zip.ZipOutputStream;/*** Compress and decompress files or folders with zip*/public class Compressutil {/*** Compress files or folders* @param basedir
Tmpfilename.tar fileName | | DirName (just want to pack into. tar); Gzip-v Tmpfilename.tar (Delete source file, become tmpfileName.tar.gz, and display compression ratio---If-V is written as-Q does not display compression ratio);Extract:1. Tar zxvf fileName2, Tar xvf fileName (pro-test can also)3, gzip-d fileName.tar.gz; Tar xvf fileNameExplanation: Compression when two ways, in fact, the first enough, the second is step-by, first pack into tar, and then use gzip compression into. tar.gz forma
In linux, tar is used to package and split files, and tar is used to decompress files.
First, compression:
Tar-czvp-f skype_backup.tar.gz skype_backup
Split:
Split-B 4000 k skype_backup.tar.gz skype_backup_20090626.tar.gz.-verbose
The preceding two commands are combined into one sentence:
Tar-czvp-f-skype_backup | split-B 4000 k-skype_backup_20090
command:
There are many parameters for the tar command, but there are only a few commonly used options.
-C: (create) create a package file. You can use-v to view the package file during the process.
-T: view the file names contained in the package.
-X: unpack or decompress the package. It can be used with-C (uppercase) To uncompress the package in a specific directory.
Note that-c,-t, and-x cannot appear at the same time.
-J: Use bzip2 to compress o
just in the QQ group inside a man asked the file compression command, usually work with the decompression command, if you encounter compression is now checked (this is not a good habit), so to organize under the Linux create and unzip zip, tar, Tar.gz and tar.bz2 files are compared to their compression ratios to make it easier to remember when their brains have limited memory space and are infrequently used. It is now organized as follows:the current
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 dow
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
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
[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.
in linux, you must install RAR for Linux.
. RarDecompress: RAR x filename.rarCompression: rar a filename.rar dirname
--------------- . LHA Decompress: LHA-e filename. LHA Compression: LHA-a filename. LHA filename --------------- . Rpm Unpack: rpm2cpio filename. RPM | cpio-Div --------------- . Deb Unpack: Ar P filename. Deb data.tar.gz | tar zxf- --------------- . Sea Decompress: Sex x filename
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.