How to split a large file into parts? We’ll use rar.
$ sudo apt-get install rar
So we can split:
$ rar a -m0 -v350m myfile.rar myfile.avi
Where:
- a : we are adding
- -m0 : mode. 0 for no compression and fastest. 5 for high compression and slowest. 3 is default
- -v is the size of the volumes
Uncompressing is easy:
$ rar e myfile.part1.rar