Splitting files (from Linux to Windows)

Here is a simple tip for splitting a large file into small chunks on Linux and reassemble it on Windows. No need to install anything !

On Linux, split largefile into small files of 2040M named small00, small01… :

$ split -b 2048m -d largefile small

On Windows, Assembling the files is simply done inside the DOS terminal with :

$ copy /b small00 + small01 final

Don’t forget to use the binary mode with /b, otherwise it will not work.