forgot to add the usage:

./script.sh <file to be compressed> <Number of MB>

<Number of MB> if you want to split the files into several parts.

~~~~~~

increasing 10 to another number if you plan to use more than 10 parts

PHP Code: 
while [ $part -le 10 
~~~~


@everyone who reply above
have you tried it?