zoukankan      html  css  js  c++  java
  • Linux下大型容量件的切割与合并

    Linux下大型容量件的切割与合并

                 

    当前目录下有sp4.exe文件容量129M
    我用64的U盘把spe.exe考到另一台机器上
    #split -b 60m sp4.exe
    -b, --bytes=SIZE   SIZE 值为每一输出档案的大小,单位为 byte。-C, --line-bytes=SIZE SIZE 可加入单位: b 代表 512, k 代表 1K, m 代表 1 Meg
    #ls
    -rw-r--r--    1 root     root     62914560  5月 18 00:40 xaa
    -rw-r--r--    1 root     root     62914560  5月 18 00:41 xab
    -rw-r--r--    1 root     root      8576176  5月 18 00:41 xac

    到另一台机器上合并
    #cat xa* >; ./sp4.exe     用jion也可以合并


    还有一种方法
    到[url]http://see.online.sh.cn/ch/sw/dl/split.htm[/url]下载
    解压后

    [root@rhas3 knife-2.0.1]# ls
    knife  link  linkfiles.pl  sp4.exe
    分割:
    [root@rhas3 knife-2.0.1]# ./knife -c sp4.exe 500   ( 500:字节大小)
    Cutting......Cutted Over
    [root@rhas3 knife-2.0.1]# ls -l
    总用量 44
    -rwxr-xr-x    1 root     root        12949 2000-02-28  knife
    -rwxr-xr-x    1 root     root           17 2000-02-28  link
    -rwxr-xr-x    1 root     root         1088 2000-02-28  linkfiles.pl
    -rw-r--r--    1 root     root         1543 2000-02-28  sp4.exe
    -rw-r--r--    1 root     root          500  5月 18 00:49 sp4.exe.k00
    -rw-r--r--    1 root     root          500  5月 18 00:49 sp4.exe.k01
    -rw-r--r--    1 root     root          500  5月 18 00:49 sp4.exe.k02
    -rw-r--r--    1 root     root           43  5月 18 00:49 sp4.exe.k03

    合并:
    [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.(一定要全输完在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!

    本文出自 “李晨光原创技术博客” 博客,转载请与作者联系!

  • 相关阅读:
    FAQs: 当在Outlook Explorer中右击邮件时,如何向上下文菜单添加按钮?(VSTO技术)
    C#设置系统日期和时间
    控制带有滚动条的控件(ListView,TreeView等)的滚动条显示
    HTML Clipboard Format [MSDN资料]
    Control.ProcessDialogKey 方法 ——用以处理对话框按键(TAB ESC 箭头键 等)
    span 标记的可编辑与不可编辑
    教训:System.TypeInitializationException 类型初始值设定项引发异常
    firefox 插件制作
    base64编码
    找工作了,应聘简历
  • 原文地址:https://www.cnblogs.com/chenguang/p/3742538.html
Copyright © 2011-2022 走看看