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也可以合并 还有一种方法 到http://see.online.sh.cn/ch/sw/dl/split.htm下载 解压后 [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! 本文出自 “李晨光” 博客,转载请与作者联系! 本文出自 51CTO.COM技术博客 |



李晨光
博客统计信息
热门文章
最新评论
友情链接


