Forrest logo
back to the zipsplit tool

zipsplit:tldr:a1496

zipsplit: Output the split zipfiles into the `archive` directory.
$ zipsplit -b ${archive} -n ${size} ${path-to-archive-zip}
try on your machine

The command "zipsplit" is used to split a ZIP archive file into smaller parts. Here is the breakdown of the provided command:

  • "zipsplit": This is the name of the command-line tool that performs the splitting operation.

  • "-b ${archive}": It specifies the base name for the output files. The "${archive}" is a placeholder for the desired base name.

  • "-n ${size}": It specifies the maximum size for each split part. The "${size}" is a placeholder for the desired size, which can be in bytes (suffix 'b'), kilobytes (suffix 'k'), megabytes (suffix 'm'), or gigabytes (suffix 'g').

  • "${path-to-archive-zip}": This indicates the path to the ZIP archive file that you want to split. The "${path-to-archive-zip}" is a placeholder for the actual file path.

By running this command, you will split the specified ZIP archive file into smaller parts based on the given size limit. The resulting split parts will have the base name specified by "${archive}".

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the zipsplit tool