into glob for conversions
Convert value to a glob pattern.
Signature
> into glob {flags} ...rest
Parameters
-
...rest: For a data structure input, convert data at the given cell paths.
Input/output types:
| input | output |
|---|---|
| glob | glob |
| string | glob |
| list<string> | list<glob> |
| table | table |
| record | record |
Examples
Convert string to glob.
> '1234' | into glob 1234
Convert glob to glob.
> '1234' | into glob | into glob 1234
Convert filepath to glob.
> ls Cargo.toml | get name | into glob
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/into_glob.html