path type
for path> path type {flags}
input | output |
---|---|
list<string> | list<string> |
string | string |
Show type of a filepath
>'.'|path type
dir
Show type of a filepaths in a list
>ls|getname|path type
This checks the file system to confirm the path's object type. If nothing is found, an empty string will be returned.
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/path_type.html