[Files] Split
Q100060: [Files] Split
Split specified file(s) into multiple smaller files.
Parameter | In/Out | Description | Other Info |
---|---|---|---|
File source | InOut | The file source is a list of one or more files to process, using fully qualified pathnames, such as a FileList output parameter from another module. A typical example being the [Files] Find module. |
|
Output Folder | In | The local or network folder to store the split files. If not specified, then the files are created in the same location as the source files. | |
Split At Size | In | The size of target files; need to specify either this or SeparatorLine. | |
Separator Line | InOut | Sequence of characters that files will be separated at; need to specify either this or SplitAtSize. | |
Separator Include | InOut | Choices: None , Current , Next If None, then the separator sequence of characters is not included in the output files. If Current, then the separator sequence of characters is included in the current output file (before the split). If Next, then the separator sequence of characters is included in the next output file (after the split). Only set when Separator Line is used. |
Default: None |
Sequence Digits | InOut | Number of digits in the sequence number. | Default: 4 Minimum: 1 Maximum: 16 |
Log output level | In | Choices: Minimal , Verbose The level of execution detail you want to appear in the log. |
Default: Minimal |
Processed file list | Out | List of files that were processed. |
(Italics = required parameters)
Notes
The [Files] Split
module is built to be used a couple different ways. The first and simplest is that if you have extremely large files that are difficult to transport to another machine, either by limitations in file transfer type, or by copying to physical media of a specific size. It allows you to specify the Split At Size
parameter to split the files apart for this type of purpose. When this is used, the complementary module [Files] Join
can be used to recreate the original larger file from the individual files.
The other method this module works in is that it can take an input file, such as a large logfile, and if there is a repeating pattern in the logfile that allows you to break it down, it can locate these patterns and use that as the basis for splitting the large file.