Skip to content

A command line Python script to split files into n chunks and/or join n chunks into a file.

License

Notifications You must be signed in to change notification settings

manobarssa/fileSplitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

fileSplitter

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

About

A command line Python script to split files into n chunks and/or join n chunks into a file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages