-e, --canonicalize-existing
All components of the path must exist.
An option of realpathx.
Usage
realpathx -e FILE...
realpathx --canonicalize-existing FILE...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-e | --canonicalize-existing | none | all components of the path must exist |
Examples
Require the file to exist
realpathx -e /usr/bin/python3Test for existence quietly and branch on the exit status
realpathx -q -e config.yaml >/dev/null || echox 'config.yaml is missing'Help in the terminal
gnux help realpathx --canonicalize-existing