tar command to package files

王林
Release: 2020-05-12 14:49:03
Original
4952 people have browsed it

tar command to package files

Packaging: multiple files into one file.

Separate packaging command:

tar -cvf 归档路径 被打包路径.(整体文件变大,后缀一般是.tar)
Copy after login

Example:

[root@lbg test]# ls
a  b  c  d
[root@lbg test]# tar -cvf test.tar a b c d  ---将文件abcd打包为test.tar
[root@lbg test]# ls
a  b  c  d  test.tar
Copy after login

Recommended tutorial: linux tutorial

The above is the detailed content of tar command to package files. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template