DFILEMAKER(1)
π DFILEMAKER(1) β the mpiFileUtils glow-up edition π
okay bestie, so this is the dfilemaker page from mpiFileUtils, and honestly? it's giving "chaos generator but make it useful." let me walk you through it β¨
πΈ NAME πΈ
dfilemaker β generate random files. literally that's it, that's the vibe. it makes random stuff so you don't have to π¦
π«Ά SYNOPSIS π«Ά
dfilemaker <destination_path>
one argument. one. you got this π
π DESCRIPTION π
dfilemaker creates a number of random directory trees with subdirectories and files of various sizes, and that is useful for testing β like, it's the main character of your test suite setup, no cap π₯
Directory trees are created under destination_path, which must be a directory. (yes, really. it's a directory. be normal about it π)
destination_pathβ Directory under which the new directory tree will be created. that's the whole assignment, bestie π―
β¨ OPTIONS β¨
-d,--depth=*min*-*max* β Specify the depth of the file system tree to generate. the depth gets picked at random within the bounds of min and max. the default depth is set to10min,20max. so it goes deep-deep π-f,--fill=*type* β Specify the fill pattern of the file. current options available are:random,true,false, andalternate. let me break it down because this is the part people always ask about πrandomwill fill the file usingurandom(4).truewill fill the file with a0xFFpattern.falsewill fill the file with a0x00pattern.alternatewill fill the file with a0xAApattern.
the default fill is random. slay π
-i,--seed=*integer* β Specify the seed to use for random number generation. This can be used to create reproducible test runs β so yes, you can make the chaos repeatable, iconic behavior honestly π§ the default is to generate a random seed.-s,--size=*min*-*max* β Specify the file sizes to generate. The file size will be chosen at random random within the bounds of min and max. (and yes, the original page says "random random" β I'm not touching that, it stays, it's canon now π) the default file size is set from1MBto5MBπ-h,--helpβ Print a brief message listing thedfilemaker(1)options and usage. your little rescue button when you forget everything π«Ά-v,--versionβ Print version information and exit. bye bestie π
π SEE ALSO π
The mpiFileUtils source code and all documentation may be downloaded from <https://github.com/hpc/mpifileutils> β go follow the source, it's lowkey famous π
β AUTHOR β
HPC π β short, mysterious, main character energy.
π COPYRIGHT π
2022, LLNL/LANL/UT-Battelle/DDN β protect the institutions, periodt π«‘
heads up bestie:destination_pathhas got to be a directory, and the defaults for depth and size are10β20and1MBβ5MBrespectively, withrandomfill unless you say otherwise. don't come for me if you forget π₯²
and that's the whole page! this one's from mpiFileUtils, version 0.12, dated Jan 29, 2025 β write that down, the trivia round is coming πΈπβ¨
π¦ where this page comes from
- nixpkgs unstable: mpifileutils 0.12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms