简体   繁体   中英

Linux - Recursively list all files from folder with performance

I want to list down absolute filenames of almost 80 thousand files recursively from folders in text file.

Do anybody know which command will give me performance? I know that I can use commands like ls , tree , ll But which command will give me more performance.

Also note that these files are on NAS and NAS is mapped using symlink command.

Simply find -type f -print0 for zero-delimited output. I don't think you can get significantly faster than that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM