linux 传输大文件进行分割的 在windows上合并

先写方法

 

Linux:

  1. [hcon01:/home1/jinxing] ls -alh dump.sql.gz
  2. -rw-r--r-- 1 jinxing other 1.6G 2014-11-0518:43 dump.sql.gz
  3. [hcon01:/home1/jinxing] split -b 500m dump.sql.gz dump.sql.gz_
  4. [hcon01:/home1/jinxing] ll -alh dump.sql*
  5. -rw-r--r-- 1 jinxing other 1.6G 2014-11-0518:43 dump.sql.gz
  6. -rw-r--r-- 1 jinxing other 500M 2014-12-1617:31 dump.sql.gz_aa
  7. -rw-r--r-- 1 jinxing other 500M 2014-12-1617:31 dump.sql.gz_ab
  8. -rw-r--r-- 1 jinxing other 500M 2014-12-1617:31 dump.sql.gz_ac
  9. -rw-r--r-- 1 jinxing other 97M 2014-12-1617:31 dump.sql.gz_ad

 

Windows

  1. D:\tmp> copy dump.sql.gz_aa /B+dump.sql.gz_ab /B+dump.sql.gz_ac /B+dump.sql.gz_ad dump.gz
  2. dump.sql.gz_aa
  3. dump.sql.gz_ab
  4. dump.sql.gz_ac
  5. dump.sql.gz_ad
  6. 已复制 1个文件
  7. D:\tmp>dir
  8. 2014/12/1615:59 .
  9. 2014/12/1615:59 ..
  10. 2014/12/0916:2810,945,912,331 dump.gz
  11. ......
  12. .....

 

PS:合并后的文件有时候会和源文件不一致的可能性。

 

对准确性要求高的需求, 需要比较hash值,md5

 

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值