How about:
$ split -b 10 input.txt xxx/split-file
or
$ split -b 10 input.txt /tmp/split-file
Just include the output directory in the prefix specification. Keep in mind that the directory must be created beforehand.
How about:
$ split -b 10 input.txt xxx/split-file
or
$ split -b 10 input.txt /tmp/split-file
Just include the output directory in the prefix specification. Keep in mind that the directory must be created beforehand.