Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Multizip

Utility for compress and split files.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Multizip 0.1

Utility for compress and split files.

The utility consists of two programs:

  • multizip -> Command line program to compress or split files.
  • multiunzip -> Command line program to uncompress or join files.

Multizip

Utility to compress and split files or folders.

SYNTAX: multizip <input files> [optional parameters]

Optional parameters can be:

-h or --help;

pascal
Print help information.

-o <file name> or --output=<<filename>>

pascal
Set output file name. If not specified, a default name will be used.

-s <max.size> or --size=<<max.size>>

pascal
Split the compressed file in files of "max.size" kilobytes.

Example 1: Compress the file this.txt to this.zip

pascal
multizip this.txt

Example 2: Compress the files 1.txt and 2.txt to 12.zip

pascal
multizip 1.txt 2.txt -o 12.zip

Example 3: Compress all the *.txt files to text.zip

pascal
multizip *.txt -o text.zip

Example 4: Compress an split the file a.txt in parts of 10KB

pascal
multizip a.txt -s 10

Compressed files will be saved as the standard name *.zip.

Compressed and splitted files will be saved as several names with a number as ordinal: *.0.zp *.1.zp *.2.zp...

Multiunzip

Utility to uncompress and join files or folders compressed or splitted by MULTIZIP.

SYNTAX: Multiunzip <input file> [optional parameters]

<input file> is the compressed file. For join splitted files, only the *.0.part must be indicated

Optional parameters can be:

-h or --help

pascal
Print help information.

-f <folder name> or --folder=<folder name>

pascal
Set output folder where extract compressed files. If not specified, it.
will be used the same folder of the compressed file.

Example 1: Uncompress the file this.zip to this.zip

pascal
multiunzip this.zip

Example 2: Join the files text.0.zp, text.1.zp, ...

pascal
multiunzip text.0.zp