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

How to package files in Linux system

王林
Release: 2020-03-12 16:58:38
Original
4074 people have browsed it

How to package files in Linux system

Packaging (.tar):

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

(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!

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