Sum*_*ukh 41 command-line tree
我正在使用这个包tree来列出给定目录中的子目录和文件。除了不列出隐藏文件外,它工作正常。
当我tree在文件夹中运行时它返回
??? Zodiac (2007)
? ??? Zodiac (2007).mkv
??? Zombieland (2009) H
? ??? Zombieland (2009) H.mkv
??? Zootopia (2016)
??? Zootopia (2016).mkv
??? Zootopia (2016).srt
Run Code Online (Sandbox Code Playgroud)
但它应该已经返回了.folder.png在这些文件夹中的每一个中命名的隐藏文件。
我能做到吗?
Zan*_*nna 60
用 tree -a
$ man tree
-a All files are printed. By default tree does not print hidden files
(those beginning with a dot `.').
In no event does tree print the file system constructs
`.' (current directory) and `..' (previous directory).
Run Code Online (Sandbox Code Playgroud)