How to recursively list all files and directories

前端 未结 8 1756
长发绾君心
长发绾君心 2021-02-01 03:32

Using the tcsh shell on Free BSD, is there a way to recursively list all files and directories including the owner, group and relative path to the file?

ls -alR comes cl

8条回答
  •  说谎
    说谎 (楼主)
    2021-02-01 04:23

    How about this:

    find . -exec ls -dl \{\} \; | awk '{print $3, $4, $9}'
    

提交回复
热议问题