Skip to content

Commit e646165

Browse files
committed
document recursive glob patterns for "output_rules"
1 parent f767c3b commit e646165

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,12 @@ Configuration properties supported for basic jobs include:
470470

471471
The `output_rules` property is a list of `/`-anchored glob patterns that
472472
match files in the ephemeral machine; e.g., `/tmp/*.txt` would match
473-
`/tmp/something.txt` but not `/tmp/nothing.png`.
473+
`/tmp/something.txt` but not `/tmp/nothing.png`. Like the shell, a single
474+
asterisk (`*`) will not descend into a hierarchy of directories. If you want
475+
to match recursively, a double asterisk (`**`) pattern will match the current
476+
directory or any directory under that directory, but not files. You can
477+
combine these to get a recursive match; e.g., `/tmp/**/*.txt` would match
478+
`/tmp/a.txt`, `/tmp/dir/a.txt`, and `/tmp/dir/dir/a.txt`.
474479

475480
By default, it is not an error to specify a pattern that does not match any
476481
files. Provided the job is not cancelled, matching files are uploaded

0 commit comments

Comments
 (0)