Tar (Tape ARchive, abbreviation for tape archive, LCTT originally designed to package files onto tape, and now most of us use it to back up a partition or some important directory) is the most widely used command in Unix-like systems, Used to
TARCommand nameThe GNU version of the tar-tar file management program. The following sections describe their meanings one by one.OverviewTar [-] A -- catenate -- concatenate | c -- create | d -- diff -- compare | r -- append | t -- list | u --
15+ the use of a tar command, with example http://www.oschina.net/question/12_146379April 23 The development system practice >>>» of Wuhan OSC source--es6The tar command is used to package many files into a single tape or disk archive, and to
Access to the server through SSH, it is inevitable to use compression, decompression, packaging, unpack, etc., this time the tar command is essential to a powerful tool. The most popular tar in Linux is though small, spite, and powerful.
The tar
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]
through SSH access to the server, will inevitably use compression, decompression, packaging, unpacking, etc., this time the tar command is an essential tool for a powerful. The most popular tar in Linux is the perfectly formed, the most powerful.
Tar cjf/home/data/ai-new/packets/| Split-b 1000m-tt.tar.bz2Cat tt.tar.bz2.a* > tt.tar.bz2Tar czf xx.tar.gz/home/ddTar xvf xx.tar.gz/home/dd
To specify an extract directory by using-C
TAR-ZXVF
Basic Linux Tutorial: tar command usage
The Linux tar command is a powerful tool for archiving or distributing files. The GNU tar archive package can contain multiple files and directories and retain the file permissions. It also supports multiple
Log in 22 after tar compress/var/log directory output to standard input via pipeline to local 22_log.tar.gz file ssh 192.168.0.22 "Cd/var; Tar-zcvf-log"|cat >22_log.tar.gz re-creates the file in a relative location when extracting the archive file.
Linux tar command parameters and usage details--linux Package backup command tarCommandGNU version of the Tar-tar file management program. The meanings are described belowtar [-cxtzjvfppn] files and directories .... Common parameters: -C: Establish
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.