# «ANB Software File Splitter» help

# ANB Software File Splitter

## Version 0.5 (2023.04.16)
Copyrights © 2023 by Alewxander Babaev.

### Content

1. Description
2. License
3. How to use: Split file
4. How to use: Join Files
5. How to use: Application Parameters
6. How to use: Console Line Parameters

### Description

ANB Software File Splitter allows you to divide a file into the nth number of files of a given volume without archiving the data, and then assemble it into a single file, if you need it.

The program works in two modes: 1) using command line parameters; 2) interactive mode.

### END USER LICENSE AGREEMENT (EULA)

(Version 1.0)

#### DEFINITIONS

ANB Software File Splitter (hereinafter referred to as "product") - a program and/or a component of the program and/or other (game, image, film, etc.), to which this agreement applies.

End User (hereinafter referred to as "you" or "user") is a person and/or organization that uses the product, provided under this license.

Alexander Babaev (hereinafter referred to as "Manufacturer") - the person and/or organization that produced the product.

#### LIMITATIONS

Some States (districts, regions, states) do not allow the limitation or exclusion of liability for unforeseen damage. If your country (district, region, state) does not imply limitation or exclusion of liability for unforeseen damages, then this agreement cannot apply to you. In this case, refuse to use the product.

Some States (districts, regions, states) do not allow the exclusion of implied warranties. If your country (district, region, state) does not imply the exclusion of implied warranties that this agreement may not apply to you. In this case, refuse to use the product.

#### SUBJECT OF THE AGREEMENT

This agreement is concluded between the Manufacturer of the product and the User of the product. This agreement defines the relationship between the Manufacturer and the User arising from the use of the product.

#### LICENSE

The product is distributed on the principle of "AS-IS" ("AS IS"). The author does not bear ANY RESPONSIBILITY in case this program causes physical, material or any other harm to you and your computer. You install the product at your own risk. The manufacturer and/or Distributor does not bear any responsibility for errors, malfunctions (etc.) caused by the product to your computer.

You can use this program at your discretion, as well as copy and distribute with a link to the author and the website "https://babaev-an.ru/". You are prohibited from copying, distributing the product without a link to the author and the previously specified site. You are prohibited from copying and using the product if the copy of the product you are installing does not have a link to the author and the previously specified site. You are prohibited from changing the contents of the product, disassembling, disassembling and modifying the product, using its components in other programs without the written agreement of the Manufacturer, removing or correcting any proprietary and/or copyright marks in the product.

IF YOU DOWNLOAD, COPY THE PRODUCT OR USE IT IN ANY OTHER WAY, YOU HEREBY CONFIRM YOUR AGREEMENT TO COMPLY WITH THE TERMS OF THIS END USER LICENSE AGREEMENT. IF YOU DO NOT AGREE, DO NOT INSTALL, COPY, OR USE THE PRODUCT.

#### COPYRIGHT

The copyright for all copies of the product belongs to the Manufacturer and is protected by the legislation of the Russian Federation and a number of other countries.

#### LIMITED WARRANTY AND DISCLAIMER

You are not given any guarantees. All your possible demands, claims and claims (including on quality) will be UNRECOGNIZED.

#### LIMITATION OF LIABILITY

You are not given any obligations. All your possible requirements will be UNRECOGNIZED.

### How to use: Split file

The "File Splitting" operation is used to split a certain file (hereinafter, the source file) into n parts, given size. It requires the following parameters:

- `-fn="file name"` - name of the source file.
- `-td="path"` - the folder where the parts of the file will be saved.
- `-ps=«number»` - the size of a part of the file in bytes.

In interactive mode, the user will be interviewed for each parameter.

The "File Splitting" operation may contain the following additional splitting parameters:

- `/NoCheckHash` - don't check parts for matching checksums.
- `/DeleteSource` - after splitting, the source file is deleted.
- `/EncryptInfoFile` - whether the information file needs to be encrypted. ATTENTION! Enabling this parameter obliges you to specify the parameter in the additional assembly parameters during assembly `/DecryptInfoFile`. Otherwise, you will get return code 3 when trying assemble the file.

Parameters are entered separated by a space, both in command-line parameters mode and in interactive mode.

For example, you need to split the `C file:\MyFiles\myBigFile.mp4` to 10 MB files and save files partitions to the `C folder:\myFilesSplited\` by deleting the source code, encrypting the split information file and not giving the user no requests. Then you should run the program in the following way:

`FileSplitter split -fn="C:\myFiles\myBigFile.mp4" -td="C:\myFilesSplited" -ps=10485760 /DeleteSource /EncryptInfoFile --silent`

### How to use: Join Files

The "Join files" operation connects the file that was previously split using the "Split File" operation. She demands the following parameters:

- `-ifn="Имя файла"` - the name of the file with information about the split.
- `-tfn="Путь"` - the file to build the split into.

In interactive mode, the user will be interviewed for each parameter.

The "Join Files" operation may contain the following additional assembly parameters:

- `/NoCheckHash` - don't check parts for matching checksums.
- `/DeleteSource` - after joining, the split files are deleted.
- `/DecryptInfoFile` - whether to decrypt the information file. ATTENTION! Enabling this parameter obliges you to specify the parameter in the additional splitting parameters when splitting `/EncryptInfoFile`. Otherwise, you will get return code 3 when trying joining the file.
- `/IgnoreVersion` - disable checking the version of the information file (NOT RECOMMENDED).
- `/SkipCheck` - disable checking the collected file for compliance with the original.

Parameters are entered separated by a space, both in command-line parameters mode and in interactive mode.

For example, you need to merge the file specified by the information `C:\myFilesSplitter\myBigFile.mp4.fsi`, to file `C:\MyFiles\myBigFile.mp4` by deleting the split files, decrypting the split information file and disabling checking the collected file for compliance with the original. Then you should run the program in the following way:

`FileSplitter join -ifn="C:\myFilesSplited\myBigFile.mp4.fsi" -tfn="C:\myFiles\myBigFile.mp4" /DeleteSource /DecryptInfoFile /SkipCheck`

### How to use: Application Parameters

The operation "Application Parameters" allows you to configure application parameters and works only in interactive mode. It requires the following parameters:

Parameter | Possible values | Description | Example
--- | --- | --- | ---
language | String (language file name) | Sets the application language | language=russian

### How to use: Console Line Parameters

To use the program in command line parameters mode, run the program by passing command line parameters in the format:

`FileSplitter [OPERATION] [OPERATION PARAMETERS] [ADDITIONAL PARAMETERS] [SILENT MODE]`

[OPERATION] can take the following values:

- `split` - perform split operation.
- `join` - perform join operation.

[OPERATION PARAMETERS] and [ADDITIONAL PARAMETERS] are described in the corresponding help sections.

[SILENT MODE] works only in command line parameters mode and is enabled by specifying:

- `--silent` - the presence of this parameter indicates that no requests should be issued to the user (the so-called "Silent mode").

To turn off the silent mode, simply do not specify this parameter.