Answer the question
In order to leave comments, you need to log in
How to find all folders that have one file?
There is an images directory.
There are a lot of folders in this directory, and in these folders you need to find the folder1/folder2/folder3/config.ini file.
If it exists, then display the name of this folder in images. How to do it?
Answer the question
In order to leave comments, you need to log in
find -name config.php
or using an absolute path:find /path/to/images/ -name config.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question