You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-3
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
# gen-dataset
2
2
A command line tool to quickly generate a lot of files in a lot of directories. This tool creates an [M-ary tree](https://en.wikipedia.org/wiki/M-ary_tree)
3
-
shaped directory tree and randomly places any number of files of any size within this tree. The distribution of files per directory is roughly equal.
4
-
Since the width of directories increases geometrically as the depth increases, the probability distribution of file depth is biased towards the deepest level.
5
-
Biasing the distribution this way ensures that each directory has a similar number of files instead of having most of the file density at the top of the tree.
3
+
shaped directory tree and randomly places any number of files of any size within this tree. The distribution of files per directory is roughly equal. If a size is provided, the files will be filled with zeros up to that size.
0 commit comments