jjoin, jtool join
jjoin
lets you reassemble files that have been split using jsplit
. You can call it as jjoin
or jtool join
.
Note: For installation instructions, see jtool
.
Syntax
Copy
jjoin [-h|-?|-help] [-l <loglevel>] [-f <logfile>] <path> [-d|-delete]
Argument | Description |
---|---|
-h | Shows the hlep. |
-l <loglevel> |
Sets the log level. |
-f <logfile> |
Logs to a file instead of stdout or stderr . |
<path>
|
The path of a .spl file to join into a single file. |
-d,-delete | Deletes the .spl and segment files if the join is successful. |
-s, -same | Writes the join file in same directory as the .spl file. |
Example
The following UNIX shell example shows how reconstruct a split file using the .spl
file generated by jsplit
.
Copy
ls /tmp/file/
jtool join /tmp/file/file.txt.spl -d
ls /tmp/file/
The output of this command is as follows.
Copy
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.25
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
INFO 2023-07-27 06:07:45,693 CEST [15989-jjoin] jjoin.main - Written 26812998 bytes to '/tmp/example/file.txt'
file.txt