Skip to content

Command line tool to split a file into chunks of user-specified size, respecting delimitted breaks.

Notifications You must be signed in to change notification settings

smcolby/chunker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

chunker

Command line tool to split a file into chunks of user-specified size, respecting delimitted breaks.

usage: chunker.py [-h] [-c CHUNKSIZE] (-d DELIMITER | -l LINES)
                  infile outfolder

Split input file into pieces.

positional arguments:
  infile                Path to input file.
  outfolder             Path to output folder.

optional arguments:
  -h, --help            show this help message and exit
  -c CHUNKSIZE, --chunksize CHUNKSIZE
                        Approximate size of file chunks.
  -d DELIMITER, --delimiter DELIMITER
                        Delimiter for preserving text groups.
  -l LINES, --lines LINES
                        Number of lines to be considered a text group.

About

Command line tool to split a file into chunks of user-specified size, respecting delimitted breaks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages