歡迎您光臨本站 註冊首頁

Linux下大型容量件的切割與合併

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0
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!

[火星人 ] Linux下大型容量件的切割與合併已經有436次圍觀

http://coctec.com/docs/linux/show-post-54329.html