How to recursively list all files and directories

前端 未结 8 1754
长发绾君心
长发绾君心 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:18

    Works in Linux Debian:

    find $PWD -type f     
    
    0 讨论(0)
  • 2021-02-01 04:23

    How about this:

    find . -exec ls -dl \{\} \; | awk '{print $3, $4, $9}'
    
    0 讨论(0)
提交回复
热议问题