Tags: output UNC content generated file specified detailed logo LinuTar-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 packageThese five are stand-alone commands, which use one of the compression decompression, and can be used with other commands but only one. The following parameters are optional when compressing or extracting files as needed.-Z: With gzip
Tags: Post linu detailed res original unzip extract named bz2Tar-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 packageThese five are stand-alone commands, which use one of the compression decompression, and can be used with other commands but only one. The following parameters are optional when compressing or extracting files as needed.-Z: With gzip
Tar
-C: Create a compressed file-X: Extract-T: View content-R: append an object to the end of the compressed archive object-U: update files in the original compressed package
These five are independent commands, one of which must be used for compression and decompression. They can be used with other commands, but only one of them can be used. The following parameters are optional when files are compressed or decompressed as needed.
-Z: With the
Linux tar command advanced usage--Backing up data2015-12-31 Linux LearningWith the powerful tar command on Linux, Tar was originally designed to make tape backup (tape archive), which was intended to back up files and directories to tape and then extract or recover files fro
1. The system# passwd: Change Password# exit: Exiting the system2. Document# cp: Copy files or directories, parameters:-A recursive directory,-I override confirmation# mv: Change the name to move# rm: Delete, Parameters:-R Recursive Delete3. Table of Contents# mkdir: Creating a Table of contents# rmdir: Delete Empty directory# CD: Changing working directory# pwd: View current path# ls: Column directory, parameters:-A All files,-C sorted by time,-l details4. The text# Sort: Sorting# Uniq: Delete
1. With the tar command, you can package a whole bunch of files and directories into a single file, which is useful for backing up files or combining several files into one file for easy network transmission.2. Tar command parameters-A or--catenate: Add files to the existing backup file;-B: Set the chunk size;-C or--cr
Tar commandfunction Description: used to establish, restore the backup file of the tool program, it can join, to unlock files in the backup fileSecond, the parameters:-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 packageThese five are stand-alone commands, which use one of the compression decompression, and can be used with other commands but only
Tar (1) User Commands tar (1)NAMETar-manual page for tar 1.26SynopsisTar [OPTION ...] [FILE] ...DESCRIPTIONGNU ' tar ' saves many files together into a single tape or disk archive, and canRestore individual files from the archive.Note that this manual page contains just very brief description (or more like aList of pos
Original linkHttp://www.cnblogs.com/qq78292959/archive/2011/07/06/2099427.htmlTar-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 packageThese five are stand-alone commands, which use one of the compression decompression, and can be used with other commands but only one. The following parameters are optional when compressing or extracting files as needed.-Z: With
For Linux Packaging commands mdash; tar in windows, there are many compression software, such as winrar and winzip. you can package a folder. In Linux, there are two main compression commands: gzip and bzip2. the latter has a high level of compression. Players who are familiar with these two commands know that they once played the Linux Packaging command-
specified files to a compressed package using gzip
TAR-ZXVF 1.tar.gz
Unzip the GZ compressed package to the current directory
-j Pack and use b zip 2 compress the specified file to the compressed package
TAR-JXVF 1.tar.bz2
Unzip bz2 Compress package to current directory
Ext: http://blog.csdn.net/teamlet/archive/2008/02/18/2104262.aspx
This article cites two parts of Tar, the first part is an example of using tar. The second part is a detailed parameter description.
The first part:
Tar command
tar [-cxtzjvfppn] files and directories ....
Par
The parameters of the tar decompression command in linux are described in detail. the tar program is used to store or expand the tar archive file. Archive files can be stored on disks or as common files. Tar requires parameters. the optional parameters are A, c, d, r, t, u,
1, Command introduction:Tar is used to package, compress and decompress files.2. Command format:tar [options] File3. Command parameters:The necessary parameters are as follows:-A add compressed file to existing compression-B Set Chunk size-C Create a new compressed file-D Record File differences-R Add a file to a file that has been compressed-u add changed and ex
. The M option instructs the tar command to prompt you to use a new storage device, and when the M option is used to archive a floppy drive, the TAR command reminds you to put a new floppy disk when a floppy disk is full. This allows you to save the tar file on several disks
Profile:
Tar is the main file compression and decompression, is a more commonly used command.
Command format:
tar [-cxtzjvfppn] pathname [pathname ...]
Parameters:
-C: Create an archive
-X: Unlocking an Archive
-T: View an archived content
-Z: Archive compression or decompression with
The previous article introduced the tar command of the Linux compression and decompression command. I believe that, for example, you should be familiar with the application of the tar command. Here we will continue to introduce the two Linux compression and decompression com
The TAR command creates archives for Linux files and directories. With tar, you can create files (backup files) for a specific file, or you can change files in the file or add new files to the file. Tar was originally used to create archives on tape, and now users can create files on any device. With the
Linux packaging command-tar in windows, there are a lot of compression software, such as winrar, winzip, etc., You can package a folder. In Linux, there are two main compression commands: gzip and bzip2. the latter has a high level of compression. Players familiar with these two commands know that they can only compress one file or file at a time. The folder or d
1. Tar is just a packaging command and does not compressExample: TAR-CVF tmp.tar/tmp-C: On behalf of packaging-V: Represents the display packaging process-F: Represents the specified package file name-X: Delegate Unpacking2. Compression options-Z: Identify. gz format-j: Identify. bz2 formatExample: TAR-ZCVF tmp.tar.gz/
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.