Split or Merge File on Linux
If you are using Windows operating system, you have to install third party program to be able to split large file into a few small files. But for Linux user you can use split command to do the task. It is a small program but do the job effectively. For example if you have 2 GB files and want to split it into four files of 500 MB each, you can use the following command.
split --b=500m original part
The program will creates four files with 500 MB each. original is the file that you want to split and part is the prefix of the split files. In this example the split command will create partaa, partab, partac and partad.
If you want to restore or merge the split files use the following command
cat partaa partab partac partad > mergefiles
This will merges the four files and named the files mergefiles.



