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
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!
本文出自 “李晨光原创技术博客” 博客,转载请与作者联系!