Home  >  Article  >  Operation and Maintenance  >  How to package files in Linux system

How to package files in Linux system

王林
王林Original
2020-03-12 16:58:383973browse

How to package files in Linux system

Packaging (.tar):

tar -cvf Pro.tar /home/lin/Pro   #将/home/lin/Pro文件夹下的所有文件打包成Pro.tar

(Recommended tutorial: linux tutorial)

Parameter description:

c Create a new archive file. If the user wants to back up a directory or some files, he or she must select this option.

v Detailed report of file information processed by tar. Without this option, tar does not report file information.

f Using archive files or devices, this option is usually required.

Recommended related video tutorials: linux video tutorial

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

Statement:
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