jsplit, jtool split
jsplit lets you split files. You can call it as jsplit or jtool split.
Note:   For installation instructions, see jtool.
Syntax
Copy
                                                
                                            
                                            jsplit [-h|-?|-help] [-l <loglevel>] [-f <logfile>] <path> [-s|-size <bytes>] [-p|-parity 0 or 1]| Argument | Description | 
|---|---|
| -h | Shows the help. | 
| -l <loglevel> | Sets the log level. | 
| -f <logfile> | Logs to a file instead of stdoutandstderr. | 
| <path> | The path of the file to split. | 
| -s, -size <bytes> | |
| -p, -parity 0 or 1 | 
 | 
Example
The following UNIX shell example shows how to split a file using jtool split.
Copy
                                                
                                            
                                            ls /tmp/file/
jtool split /tmp/file/file.txt
ls /tmp/file/Output:
Copy
                                                
                                            
                                            file.txt
INFO  2023-07-27 06:07:45,072 CEST [8760-jsplit] jsplit.main - Splitting file.txt size 26812998 into 27 files (00 to 26)
file.txt     file.txt.02  file.txt.05  file.txt.08  file.txt.11  file.txt.14  file.txt.17  file.txt.20  file.txt.23  file.txt.26
file.txt.00  file.txt.03  file.txt.06  file.txt.09  file.txt.12  file.txt.15  file.txt.18  file.txt.21  file.txt.24  file.txt.spl
file.txt.01  file.txt.04  file.txt.07  file.txt.10  file.txt.13  file.txt.16  file.txt.19  file.txt.22  file.txt.25The following UNIX shell example shows how to split a file using jtool split with a parity of 1.
Copy
                                                
                                            
                                            ls /tmp/file/
jtool split /tmp/file/file.txt -p 1
ls /tmp/file/Output:
Copy
                                                
                                            
                                        file.txt
INFO  2023-07-27 06:07:45,913 CEST [8848-jsplit] jsplit.main - Splitting file.txt size 26812998 into 27 files (00 to 26)
file.txt     file.txt.02  file.txt.05  file.txt.08  file.txt.11  file.txt.14  file.txt.17  file.txt.20  file.txt.23  file.txt.26
file.txt.00  file.txt.03  file.txt.06  file.txt.09  file.txt.12  file.txt.15  file.txt.18  file.txt.21  file.txt.24  file.txt.p00
file.txt.01  file.txt.04  file.txt.07  file.txt.10  file.txt.13  file.txt.16  file.txt.19  file.txt.22  file.txt.25  file.txt.spl