#tools #files #fuzz

nightly bin+lib ftzz

File Tree Fuzzer creates a pseudo-random directory hierarchy filled with some number of files

9 releases (4 stable)

Uses new Rust 2021

1.1.0 Apr 21, 2022
1.0.2 Jan 7, 2022
0.1.5 Nov 24, 2021
0.1.3 Oct 25, 2021

#284 in Testing

Download history 75/week @ 2022-06-02 2/week @ 2022-06-09 4/week @ 2022-06-16 3/week @ 2022-06-23 2/week @ 2022-06-30 21/week @ 2022-07-07 10/week @ 2022-07-14 29/week @ 2022-07-21 2/week @ 2022-07-28 10/week @ 2022-08-04 3/week @ 2022-08-18 19/week @ 2022-08-25 31/week @ 2022-09-08 3/week @ 2022-09-15

53 downloads per month

Apache-2.0

65KB
1.5K SLoC

FTZZ

File Tree Fuzzer creates a pseudo-random directory hierarchy filled with some number of files.

Installation

Use prebuilt binaries

Binaries for a number of platforms are available on the release page.

Build from source

$ cargo +nightly install ftzz

To install cargo, follow these instructions.

Usage

Generate a reproducibly random tree in the current directory with approximately 1 million files:

$ ftzz g . -n 1M

Generate exactly 1 million files:

$ ftzz g . -en 1M

Generate ~10_000 files with ~1 MB of random data spread across them:

$ ftzz g . -n 10K -b 1M

Because FTZZ creates reproducible outputs, the generated directory will always have the same structure given the same inputs. To generate variations on a structure with the same parameters, change the starting seed:

$ ftzz g . -n 1M --seed $RANDOM

Other parameters can be found in the built-in docs:

$ ftzz help

Dependencies

~6–13MB
~236K SLoC