linux 分割的文件在windows上合并

来源:互联网 发布:淘宝企业店铺避税提现 编辑:程序博客网 时间:2024/05/19 03:28

先写方法

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.gzdump.sql.gz_aadump.sql.gz_abdump.sql.gz_acdump.sql.gz_ad已复制 1个文件D:\tmp>dir2014/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







0 0
原创粉丝点击