A command line Python script to split files into n chunks or join n chunks into a file.
usage: fileSplitter.py [-h] [-f File Path] [-c Chunk Size | -n n_parts] MODE
positional arguments:
MODE split or join
optional arguments:
-h, --help show this help message and exit
-f File Path Path to file that will be splited.
-c Chunk Size Chunk size in bytes.
-n n_parts Number of parts in which the file will be splited.
To join files, one must run the script from a directory that has all the files to be joined and nothing else.
Ex.:python fileSplitter.py split \path\to\file -n 10 Split the file in 10 parts and write to local folder \[filename]_SPLITTED