Cutting and merging of large capacity parts in Linux

Source: Internet
Author: User
Cutting and merging of large capacity parts in Linux-Linux Enterprise applications-Linux server application information. The following is a detailed description. The current directory contains the sp4.exe file capacity of 129 MB.

I used 64 USB disks to test spe.exe on another machine.

# Split-B 60 m sp4.exe
-B, -- bytes = SIZE the SIZE of each output file, in bytes. -C, -- line-bytes = SIZE can be added to the unit: B Represents 512, k represents 1 K, m represents 1 Meg
# Ls
-Rw-r -- 1 root 62914560 May 18 00:40 xaa
-Rw-r -- 1 root 62914560 May 18 00:41 xab
-Rw-r -- 1 root 8576176 May 18 00:41 xac

Merge on another machine
# Cat xa *>;./sp4.exe can also be merged with jion

Another method
Go to http://see.online.sh.cn/ch/sw/dl/split.htmto download

Decompress the package
[Root @ rhas3 knife-2.0.1] # ls
Knife link linkfiles. pl sp4.exe

Split:
[Root @ rhas3 knife-2.0.1] #./knife-c sp4.exe 500 (500: byte size)
Cutting... Cutted Over
[Root @ rhas3 knife-2.0.1] # ls-l

Total usage 44
-Rwxr-xr-x 1 root 12949 2000-02-28 knife
-Rwxr-xr-x 1 root 17 2000-02-28 link
-Rwxr-xr-x 1 root 1088 2000-02-28 linkfiles. pl
-Rw-r -- 1 root 1543 2000-02-28 sp4.exe
-Rw-r -- 1 root 500 May 18 00:49 sp4.exe. k00
-Rw-r -- 1 root 500 May 18 00:49 sp4.exe. k01
-Rw-r -- 1 root 500 May 18 00:49 sp4.exe. k02
-Rw-r -- 1 root 43 May 18 00:49 sp4.exe. k03

Merge:
[Root @ rhas3 knife-2.0.1] #./link sp4.exe. k00 sp4.exe. k01 sp4.exe. k02 sp4.exe. k03
Please intput the file name you want to LINK up, one by one.
Just input OK when you have finished inputting. (Be sure to finish all input at OK)
OK
In this order:

Now it's time you type the name of the output file.

--> ;Sp4.exe
[Root @ rhas3 knife-2.0.1] #

OK!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.