← 返回命令列表

Linux command

zipsplit 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Split

zipsplit [path/to/archive.zip]

Example

zipsplit -n [size] [path/to/archive.zip]

Pause

zipsplit -p -n [size] [path/to/archive.zip]

Example

zipsplit -b [path/to/output_directory] -n [size] [path/to/archive.zip]

说明

zipsplit splits a ZIP archive into smaller ZIP archives. The default size limit is 36000 bytes if not specified with -n. Output files are named with numeric suffixes based on the original filename.

参数

-n _SIZE_
Maximum bytes per split archive
-p
Pause between creating each part
-b _PATH_
Output directory for split archives
-t
Report how many files would be created without actually creating them
-r _ROOM_
Leave room for extra bytes on the first disk (default: 0)
-s
Do a sequential split even if it takes more zip files
-i
Create an index file (zipsplit.idx) and count its size against the first zip file
-h
Show a short help message
-v
Show version information
-L
Show software license

FAQ

What is the zipsplit command used for?

zipsplit splits a ZIP archive into smaller ZIP archives. The default size limit is 36000 bytes if not specified with -n. Output files are named with numeric suffixes based on the original filename.

How do I run a basic zipsplit example?

Run `zipsplit [path/to/archive.zip]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -n _SIZE_ do in zipsplit?

Maximum bytes per split archive