rust-realpath1
Print the resolved path
Usage
realpath [{-q | --quiet}]
[{-s | --strip}]
[{-z | --zero}]
[{-L | --logical}]
[{-P | --physical}]
[{-e | --canonicalize-existing}]
[{-m | --canonicalize-missing}]
[--relative-to]
[--relative-base]
[{-h | --help}]
[{-V | --version}]
<files>
Overview
Print the resolved path
Options
-
-q, --quiet -
Do not print warnings for invalid paths
-
-s, --strip -
Only strip '.' and '..' components, but don't resolve symbolic links
-
-z, --zero -
Separate output filenames with \0 rather than newline
-
-L, --logical -
resolve '..' components before symlinks
-
-P, --physical -
resolve symlinks as encountered (default)
-
-e, --canonicalize-existing -
canonicalize by following every symlink in every component of the given name recursively, all components must exist
-
-m, --canonicalize-missing -
canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence
-
--relative-to=DIR -
print the resolved path relative to DIR
-
--relative-base=DIR -
print absolute paths unless paths below DIR
-
-h, --help -
Print help
-
-V, --version -
Print version
- <files>
Version
v0.0.30
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.
-V since Debian 13 (Trixie);
-h since Debian 13 (Trixie).
--no-symlinks until Debian 12 (Bookworm).