📅  最后修改于: 2022-03-11 14:50:21.950000             🧑  作者: Mango
# Basic syntax:
dirname /full/file/name.txt
# Example usage:
dirname /full/file/name.txt
--> /full/file
# Note, if you want just the file name, use basename, e.g.:
basename /full/file/name.txt
--> name.txt