Skip to Content
gnux

-m, --canonicalize-missing

No path components need exist or be a directory.

An option of realpathx.

Usage

realpathx -m FILE...
realpathx --canonicalize-missing FILE...

Details

ShortLongValueDefaultMeaning
-m--canonicalize-missingnoneno path components need exist or be a directory

Examples

Normalize a path that does not exist yet

realpathx -m build/out/../report.txt

Help in the terminal

gnux help realpathx --canonicalize-missing

On this page