Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 2.27 KB

README-public.md

File metadata and controls

61 lines (38 loc) · 2.27 KB

cmem-plugin-splitfile

Split a text file into parts with a specified size.

eccenca Corporate Memory

This is a plugin for eccenca Corporate Memory. You can install it with the cmemc command line clients like this:

cmemc admin workspace python install cmem-plugin-splitfile

Parameters

Input filename

The input file to be split.
Example: An input file with the name input.nt will be split into files with the names input_000000001.nt, input_000000002.nt, input_000000003.nt, etc.
⚠️ Existing files will be overwritten!

Chunk size

The maximum size of the chunk files.

Size unit

The unit of the size value: kilobyte (KB), megabyte (MB), gigabyte (GB), or number of lines (Lines).

Include header

Include the header in each split. The first line of the input file is treated as the header.

Delete input file

Delete the input file after splitting.

Use internal projects directory

Use the internal projects directory of DataIntegration to fetch and store files, instead of using the API. If enabled, the "Internal projects directory" parameter has to be set.

Internal projects directory

The path to the internal projects directory. If "Use internal projects directory" is disabled, this parameter has no effect.

poetry ruff mypy copier