Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15309694
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: LINUX

2008-11-28 12:30:51

linux下文件分割
luther@gliethttp:~$ dd if=abc.chm of=part1.chm bs=1M count=3
luther@gliethttp:~$ dd if=abc.chm of=part2.chm bs=1M skip=3
linux下文件合并
luther@gliethttp:~$ cat part1.chm part2.chm >abc2.chm
luther@gliethttp:~$ vbindiff abc.chm abc2.chm 比较二进制,发现相同,所以合并和拆分成功

或者使用专有命令
luther@gliethttp:~$ split -b 1M gliethttp.bin gliethttp_test
luther@gliethttp:~$ cat gliethttp_test* > new_gliethttp.bin

阅读(2352) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~