压缩,解压缩,打包,解包
命令参数
-x Extract to disk from the archive. If a file with the same name appears more than once in the archive, each copy will be extracted, with later copies overwriting (replacing) earlier copies.
-v Produce verbose output. In create and extract modes, tar will list each file name as it is read from or written to the archive. In list mode, tar will produce output similar to that of ls(1). Additional -v options will provide additional detail.
-f Read the archive from or write the archive to the specified file. The filename can be - for standard input or standard output.
使用功能
解包:tar xvf FileName.tar
网友评论