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 650) this.width=650;" onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" + this.src)' alt="" src="http://bbs.chinaunix.net/images/smilies/icon_smile.gif" border="0" smilieid="32" />
[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!

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

最新文章

  1. javascript 对象初探 (四)--- 内建对象之旅之Array
  2. Java Web 项目获取运行时路径 classpath
  3. 无法打开内核设备“\\.\Global\vmx86”: 系统找不到指定的文件。您在安装 VMware Workstation 后是否进行了重新引导?
  4. iface eth0 inet dhcp
  5. Leetcode#109 Convert Sorted List to Binary Search Tree
  6. python学习好书推荐
  7. git问题 next fetch will store in remotes/origin
  8. Cocos2d-x3.0之路--02(引擎文件夹分析和一些细节)
  9. Nodejs应用安全备忘录
  10. map map
  11. 【网络爬虫入门02】HTTP客户端库Requests的基本原理与基础应用
  12. 三栏布局,div左右盒子是定宽,中间是自适应
  13. 【leetcode82】Linked List Cycle
  14. mysql 创建用户
  15. springboot ****使用经验*******
  16. 如何检查tensorflow环境是否能正常调用GPU
  17. 转载:让Windows Server 2012r2 IIS8 ASP.NET 支持10万并发请求
  18. Centos nginx安装
  19. leetcode208
  20. 【 nginx 】怎么安装nginx

热门文章

  1. Vue过渡与动画
  2. [SDOI2008]郁闷的小J(分块)
  3. ASP.NET-Razor语法03
  4. Hadoop Serialization -- hadoop序列化具体解释 (2)【Text,BytesWritable,NullWritable】
  5. 一:Java之面向对象基本概念
  6. 关于functioncharts饼状图篇
  7. Android Camera子系统之Linux C应用开发人员View
  8. EBS OAF开发中怎样通过ReferenceAO进行验证
  9. .net 操作INI文件
  10. sql索引碎片产生的原理 解决碎片的办法(sql碎片整理)