# To split file into multiple parts of 100MB each. # Parts will be named part_aa, part_ab, ... , part_ba, part_bb, ... split -b 100m my-huge-file.xyz part_ # To merge back files cat part_* > my-rebuilt-huge-file.xyz
Here is what the above code is Doing:
1. The split command splits the file into multiple parts of 100MB each.
2. The parts will be named part_aa, part_ab, … , part_ba, part_bb, …
3. The cat command merges the parts back into the original file.