Volume compression under linux, downloaded from the file to the local Linux larger than 4G, and incorporated in the local

Background: Since when downloading files from the linux if more than 4G, use sz command can not be downloaded, so it is necessary to file volume compression.

step:

  1, large files will be compressed into a 1G file: cat mydata.zip | split -b 1G - mydata_20200302.zip. 

    Which mydata.zip large file name, mydata_20200302.zip. This split is the prefix for the file, the default file name after the spin-off is mydata_20200302.zip.aa, ab, ac .... and so on    

    

    2, each compressed file to download to a local 2G: sz mydata_20200302.zip.a *

    

      

    3, these compressed files into a compressed file, open cmd input:    

    copy / B mydata_20200302.zip.aa + mydata_20200302.zip.ab new_mydata.zip,
    this time will be in the current directory new_mydata.zip generated, is the last file to be decompressed.

    

 

      

    4, the last 360 decompression tool you can use unpack it!

    

 

Guess you like

Origin www.cnblogs.com/benben-wu/p/12398995.html