Got a legacy project in which they didn’t particularly follow the naming and folder arrangement agreements.
I can only assume how the folders and files should be called.
Hence the questions:
1) How to find a folder by name?
For example, find workers -type d doesn't really help. Searches only in the current directory, and is needed throughout the system.
2) How to find a file by part of the name?
Those. part of the name must be _workers.rb , you need to search for it
Search the entire system.
find / -type d -iname '*часть имени*'(do not erase stars and quotes) - andreymal-xdev. - 0andriylocatecommand. It is many times faster thanfind. - 0andriy