DOKK / manpages / debian 12 / wcstools / filename.1.en
FILENAME(1) User Commands FILENAME(1)

filename - AME

filename [-v/] path1 path2 path3 ...

FILENAME: Drop directory from pathname

-/: Keep one more end directory for each /

-e: Append endline after each file name

-n: Prepend one more end directory with .

-r: Root of file name (before first .)

-v: Verbose

-z: Add null instead of nl to output for scripting

April 2022 filename EB_SOURCE