linux下大文件合并,linux文件合并工具

将大文件1.dat 2.dat 3.dat 附加到文件all.dat, 其中3.dat从偏移1024开始,长度为10240,其它文件全部搬移合并

./transfer -o all.dat -f 1.data,2.dat,3.dat:1024:10240 -a

2017-07-15 08-28-45 [INFO ] |7facca676740|transfer_file.cpp:852:@setOutputStream::setOutputStream:fsWrite/'all.dat'/440120/0/fd:3

2017-07-15 08-28-45 [ERROR] |7facca676740|transfer_file.cpp:701:@getFStream::open('1.data’) err:No such file or directory

2017-07-15 08-28-45 [ERROR] |7facca676740|transfer_file.cpp:900:@addFileSource::addSource('1.data', 0, -1) = false

2017-07-15 08-28-45 [INFO ] |7facca676740|transfer_file.cpp:888:@addSource::addSource(fsRead/'2.dat'/406696/0:406696/fd:4)

2017-07-15 08-28-45 [INFO ] |7facca676740|transfer_file.cpp:888:@addSource::addSource(fsRead/'3.dat'/219960/1024:10240/fd:5)

2017-07-15 08-28-45 [INFO ] |7facca676740|transfer_file.cpp:957:@transfer::start transfering ...

2017-07-15 08-28-45 [INFO ] |7facca676740|transfer_file.cpp:880:@setTransferBuffer::setTransferBuffer:4096 k

2017-07-15 08-28-45 [INFO ] |7facca676740|transfer_file.cpp:801:@transfer::stream(fsRead/'2.dat'/406696/0:406696/fd:4) is EOF. transfered 406696 bytes

2017-07-15 08-28-45 [INFO ] |7facca676740|transfer_file.cpp:801:@transfer::stream(fsRead/'3.dat'/219960/1024:10240/fd:5) is EOF. transfered 10240 bytes

2017-07-15 08-28-45 [INFO ] |7facca676740|transfer_file.cpp:970:@transfer::Done. 416936 bytes has been transfered to stream(fsWrite/'all.dat'/440120/0/fd:3)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值