find
is sometimes a bit slow for large directories. This can sometimes be resolved by excluding files and directories.
Is there a version of find that supports caching for better performance. Similar to ctags but for the details about their files rather than their content.
Related:
- https://unix.stackexchange.com/questions/78726/find-ls-caching
- https://serverfault.com/questions/1006135/can-you-cache-the-find-command (suggests locate)
- This answer to this question shows how you can run
updatedb
on a particular directory and then uselocate
.