On linux system, using tar split and directly compressed into the folder size 150mb split file and then use CAT, tar command plurality of files can be decompressed again.

Original connection of this paper is:
https://blog.csdn.net/freewebsys/article/details/104256596

Bloggers may not be reproduced without the permit.
Bloggers address is: http://blog.csdn.net/freewebsys

1, in the linux file splitting


In the version of ubuntu above goland 2018.2.3 running out, worried that can not be downloaded.
I want to spread csdn above, but only supports 200 mb file to upload, then split into two files to upload.

tar cvf - xxxx / folder name, then split into two split -b 150m file as 150 mb.

tar czf - goland/ |split -b 150m -  goland-2018.2.3.good.tar.gz.

Name of the file need to add a point. And it will generate two files a .aa a .ab

goland-2018.2.3.good.tar.gz.aa  
goland-2018.2.3.good.tar.gz.ab 

2, unzip multiple files


You can directly merge two files with the cat command and extract the good magic.
No wonder this file to use aa ab end it turned out to be sort number is the first file using aa, ab is the second file.

cat goland-2018.2.3.good.tar.gz.a* | tar zxv

Goland development tools such as:

https://download.csdn.net/download/freewebsys/12148536

https://download.csdn.net/download/freewebsys/12148534

3, summary


Is really very convenient, you can be split into multiple files, although speed has been very fast, but maybe at some point will use the commands on.
Are commonly used linux commands it.

Original connection of this paper is:
https://blog.csdn.net/freewebsys/article/details/104256596

Bloggers address is: https://blog.csdn.net/freewebsys

Published 639 original articles · won praise 260 · Views 2.11 million +

Guess you like

Origin blog.csdn.net/freewebsys/article/details/104256596