Bash:在'find'输出之前添加前缀

1 unix bash shell

我目前正在使用:

find "$location" -maxdepth 1 -type d -exec basename {} \;
Run Code Online (Sandbox Code Playgroud)

这将显示当前位置中的所有目录.但是,我想在每个列表项的前面添加" - "(一种子弹点).这可能吗?

tri*_*eee 5

find 拥有所有这些内置.

find "$location" -maxdepth 1 -type d -printf '- %f\n'
Run Code Online (Sandbox Code Playgroud)

序列%f只获得基本名称; %hdirname等等