Extract the parts of a path string.
- directory
- basename (includes extension)
- extension
pathparts [OPTIONS] TARGET_PATH
Extract the path parts from options chosen.
-b, -basename show basename
-d, -directory show directory
-e, -extension show extension
-h, -help display help
-l, -license display license
-v, -version display version