It happens that you need to transfer a large file, for example, to flash with the FAT16 / 32 file system or upload it to the server in parts. Come to the aid of two programs that, as a rule, are present in any distribution of Linux and Mac OS.
Split command
$ split -a 1 -d -b 4000M sample.iso sample.iso.part
will split the source file sample.iso into 4 GB parts (maximum file size in FAT), each of which will be referred to as sample.iso.partN , where N = 0, 1, 2, .... The cat command will help put the pieces together on the target system: ')
$ cat sample.iso.part* > sample.iso
Using the mask will cause the cat utility to cycle through all the files in order, starting with sample.iso.part0.
This illustrative example shows how to transfer a large file. More information on using cat and split can be found in the help (--help) and program manuals (man).