I have to search for 3 types of files throughout a lot of directories (easily 1k + I think?) some of the files are 13 level deep.
installer.jar Installpackage_*.jar Patch_*.jar
Right now I am using the find command; I exclude whatever file path I can find so the find command doesn't go through the folders it has searched before. I have set the max depth to 13 (this is the deepest I can find). But still, the search is taking hours to complete. Any idea how can I improve the search time?
Ps: sorry I didn't post my script as I am currently at home and have no access to the pc in the company.