Truncating the first 100MB of a file in linux
问题 I am referring to How can you concatenate two huge files with very little spare disk space? I'm in the midst of implementing the following: Allocate a sparse file of the combined size. Copy 100Mb from the end of the second file to the end of the new file. Truncate 100Mb of the end of the second file Loop 2&3 till you finish the second file (With 2. modified to the correct place in the destination file). Do 2&3&4 but with the first file. I would like to know if is there anyone there who are