Forrest logo
back to context overview

dirname

List of commands for dirname:

  • dirname:tldr:59ef2 dirname: Calculate the parent directory of multiple paths.
    $ dirname ${filename_a} ${path-to-directory_b}
    try on your machine
    explain this command
  • dirname:tldr:6b06f dirname: Delimit output with a NUL character instead of a newline (useful when combining with `xargs`).
    $ dirname --zero ${path-to-directory_a} ${filename_b}
    try on your machine
    explain this command
  • dirname:tldr:d4258 dirname: Calculate the parent directory of a given path.
    $ dirname ${filename_or_directory}
    try on your machine
    explain this command
back to context overview