Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从文本文件的文件夹中递归地列出近 8 万个文件的绝对文件名。
有人知道哪个命令会给我带来性能吗?我知道我可以使用类似ls,的命令tree,ll但是哪个命令会给我更多的性能。
ls
tree
ll
另请注意,这些文件位于 NAS 上,并且使用symlink命令映射 NAS。
symlink
仅find -type f -print0用于零分隔输出。我认为你不能比这更快。
find -type f -print0