The linux compressed file command uses the
This article mainly introduces the use of linux compression file command in detail, the sample code in this article is very detailed, it has a certain reference value, interested friends can refer to it.
Use the tar command to compress files.
Notice the parameter cvf followed by the tar command, followed by the name of the compressed folder
Tar-cvf test.tar * .py
You can also compress the file to gz format by following the zcvf parameter after tar.
The above is a brief introduction to the use of the linux compressed file command, of course, the detailed use of the above differences have to be used by everyone to understand. If you want to know more, welcome to follow the industry information channel!