This feature is now in the CVS repository. It is achieved by the newly added -p option, like: lxsplit -p hugefile.bin 10
... which will split the given file into exactly 10 pieces.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, could you implement this feature, allowing lxsplit splits file into n files, with n is user arugment ?
Like:
lxsplit -s bigfiles.ext 4 -> split the file into 4 smaller files
Is the patch below OK for you?
http://lxsplit.sourceforge.net/tmp/lxsplit-numpieces.diff
It adds -sp as a new command (split pieces), like:
lxsplit -sp bigfiles.ext 4
O.S.
This feature is now in the CVS repository. It is achieved by the newly added -p option, like: lxsplit -p hugefile.bin 10
... which will split the given file into exactly 10 pieces.