rclone/docs/content/commands/rclone_test_makefiles.md
Nick Craig-Wood cd3b08d8cf
Some checks failed
build / other_os (push) Has been skipped
build / linux (push) Has been skipped
build / go1.21 (push) Has been skipped
build / go1.22 (push) Has been skipped
build / lint (push) Has been skipped
build / linux_386 (push) Has been skipped
build / android-all (push) Has been skipped
build / windows (push) Has been cancelled
build / mac_amd64 (push) Has been cancelled
build / mac_arm64 (push) Has been cancelled
Version v1.69.0
2025-01-12 15:09:13 +00:00

40 lines
1.7 KiB
Markdown

---
title: "rclone test makefiles"
description: "Make a random file hierarchy in a directory"
versionIntroduced: v1.55
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/test/makefiles/ and as part of making a release run "make commanddocs"
---
# rclone test makefiles
Make a random file hierarchy in a directory
```
rclone test makefiles <dir> [flags]
```
## Options
```
--ascii Fill files with random ASCII printable bytes only
--chargen Fill files with a ASCII chargen pattern
--files int Number of files to create (default 1000)
--files-per-directory int Average number of files per directory (default 10)
--flat If set create all files in the root directory
-h, --help help for makefiles
--max-depth int Maximum depth of directory hierarchy (default 10)
--max-file-size SizeSuffix Maximum size of files to create (default 100)
--max-name-length int Maximum size of file names (default 12)
--min-file-size SizeSuffix Minimum size of file to create
--min-name-length int Minimum size of file names (default 4)
--pattern Fill files with a periodic pattern
--seed int Seed for the random number generator (0 for random) (default 1)
--sparse Make the files sparse (appear to be filled with ASCII 0x00)
--zero Fill files with ASCII 0x00
```
See the [global flags page](/flags/) for global options not listed here.
## See Also
* [rclone test](/commands/rclone_test/) - Run a test command