Recursively list all files in a directory including files in symlink directories

后端 未结 8 937
甜味超标
甜味超标 2020-12-07 07:46

Suppose I have a directory /dir inside which there are 3 symlinks to other directories /dir/dir11, /dir/dir12, and /dir/dir13

8条回答
  •  清歌不尽
    2020-12-07 08:12

    in case you would like to print all file contents: find . -type f -exec cat {} +

提交回复
热议问题