Last active
February 14, 2023 18:21
-
-
Save klausbrunner/2d177cd259589807d506fbab9ce6e4ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# quickly create large/very populated zip files for testing purposes, without taking up lots of disk space | |
dd if=/dev/zero bs=1m count=10k | zip -9 single-10g-file.zip - | |
dd if=/dev/urandom bs=1 count=20000 | split -b 1 -a 4 - test_ && zip -q -m 20k-tiny-files.zip test_* | |
# this ensures CD entries with the LFH offset in the ZIP64 EIEF: | |
dd if=/dev/zero bs=1g count=6 | split -b 2g - test_ && zip -0 -m few-huge-files.zip test_* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment