将大文件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)