The title of the article starts with a bit of a detour, such as executing a command pipeline. Haha, due to server settings problems, you cannot upload a large compressed package. This compressed package cannot be resumed, and all of it can only be cut, if you use software in windows, you can easily solve the problem. In Linux, you only need two commands:
First, let's look at the first command:
Cat jordan_shoes.tar.gz | split-B 100 m-jordan_shoes.tar.gz.
Explanation:
-Jordan_shoes.tar.gz is an existing compressed package.
-100 MB indicates that each compressed package is 100 MB. If the file is not fully divided into MB, the remaining small compressed package is generated.
-Jordan_shoes.tar.gz.is the value of the generated compressed package. The header is jordan_shoes.tar.gz. The default value is aa, AB ..., And so on.
After uploading, how can I decompress these small packages to restore them? See the next command.
Cat jordan_shoes.tar.gz.a * | tar zxv
Explanation:
Use cat to read all the compressed packages and use tar to decompress them.