1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 16:55:34 +02:00

zipsplit: improve page (#12544)

* zipsplit: move to common, add example and refine wording

* zipsplit: improve description

* zipsplit: use "part" instead of "piece"

* zipsplit: use "smaller" instead of split for clarity
This commit is contained in:
Vitor Henrique 2024-03-23 23:11:19 -03:00 committed by GitHub
parent bf6dcefcc6
commit c2b3a2a880
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,16 +1,20 @@
# zipsplit # zipsplit
> Read a zipfile and split it into smaller zipfiles. > Split a Zip archive into smaller Zip archives.
> More information: <https://manned.org/zipsplit>. > More information: <https://manned.org/zipsplit>.
- Split zipfile into pieces that are no larger than a particular size [n]: - Split Zip archive into parts that are no larger than 36000 bytes (36 MB):
`zipsplit {{path/to/archive.zip}}`
- Use a given [n]umber of bytes as the part limit:
`zipsplit -n {{size}} {{path/to/archive.zip}}` `zipsplit -n {{size}} {{path/to/archive.zip}}`
- [p]ause between the creation of each split zipfile: - [p]ause between the creation of each part:
`zipsplit -p -n {{size}} {{path/to/archive.zip}}` `zipsplit -p -n {{size}} {{path/to/archive.zip}}`
- Output the split zipfiles into the `archive` directory: - Output the smaller Zip archives into a given directory:
`zipsplit -b {{archive}} -n {{size}} {{path/to/archive.zip}}` `zipsplit -b {{path/to/output_directory}} -n {{size}} {{path/to/archive.zip}}`