2021-04-01 02:12:08 +08:00
|
|
|
---
|
|
|
|
title: "rclone test makefiles"
|
2021-07-21 02:45:41 +08:00
|
|
|
description: "Make a random file hierarchy in a directory"
|
2021-04-01 02:12:08 +08:00
|
|
|
slug: rclone_test_makefiles
|
|
|
|
url: /commands/rclone_test_makefiles/
|
2022-12-21 01:16:14 +08:00
|
|
|
versionIntroduced: v1.55
|
2021-04-01 02:12:08 +08:00
|
|
|
# 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
|
|
|
|
|
2021-07-21 02:45:41 +08:00
|
|
|
Make a random file hierarchy in a directory
|
2021-04-01 02:12:08 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
rclone test makefiles <dir> [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
```
|
2022-07-10 01:08:20 +08:00
|
|
|
--ascii Fill files with random ASCII printable bytes only
|
|
|
|
--chargen Fill files with a ASCII chargen pattern
|
2021-04-01 02:12:08 +08:00
|
|
|
--files int Number of files to create (default 1000)
|
|
|
|
--files-per-directory int Average number of files per directory (default 10)
|
|
|
|
-h, --help help for makefiles
|
2022-12-21 01:16:14 +08:00
|
|
|
--max-depth int Maximum depth of directory hierarchy (default 10)
|
2021-04-01 02:12:08 +08:00
|
|
|
--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)
|
2022-07-10 01:08:20 +08:00
|
|
|
--pattern Fill files with a periodic pattern
|
2021-06-08 23:57:04 +08:00
|
|
|
--seed int Seed for the random number generator (0 for random) (default 1)
|
2022-07-10 01:08:20 +08:00
|
|
|
--sparse Make the files sparse (appear to be filled with ASCII 0x00)
|
|
|
|
--zero Fill files with ASCII 0x00
|
2021-04-01 02:12:08 +08:00
|
|
|
```
|
|
|
|
|
2023-08-02 17:02:38 +08:00
|
|
|
|
2021-04-01 02:12:08 +08:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2023-08-02 17:02:38 +08:00
|
|
|
# SEE ALSO
|
2021-04-01 02:12:08 +08:00
|
|
|
|
|
|
|
* [rclone test](/commands/rclone_test/) - Run a test command
|
|
|
|
|