先写方法
Linux:
[hcon01:/home1/jinxing] ls -alh dump.sql.gz
-rw-r--r-- 1 jinxing other 1.6G 2014-11-05 18:43 dump.sql.gz
[hcon01:/home1/jinxing] split -b 500m dump.sql.gz dump.sql.gz_
[hcon01:/home1/jinxing] ll -alh dump.sql*
-rw-r--r-- 1 jinxing other 1.6G 2014-11-05 18:43 dump.sql.gz
-rw-r--r-- 1 jinxing other 500M 2014-12-16 17:31 dump.sql.gz_aa
-rw-r--r-- 1 jinxing other 500M 2014-12-16 17:31 dump.sql.gz_ab
-rw-r--r-- 1 jinxing other 500M 2014-12-16 17:31 dump.sql.gz_ac
-rw-r--r-- 1 jinxing other 97M 2014-12-16 17:31 dump.sql.gz_ad
Windows
D:\tmp> copy dump.sql.gz_aa /B+dump.sql.gz_ab /B+dump.sql.gz_ac /B+dump.sql.gz_ad dump.gz
dump.sql.gz_aa
dump.sql.gz_ab
dump.sql.gz_ac
dump.sql.gz_ad
已复制 1个文件
D:\tmp>dir
2014/12/16 15:59 <DIR> .
2014/12/16 15:59 <DIR> ..
2014/12/09 16:28 10,945,912,331 dump.gz
......
.....
PS:合并后的文件有时候会和源文件不一致的可能性。
对准确性要求高的需求, 需要比较hash值,md5