I tried to search for a folder in its parent folders instead of its child sub-folders (usually any search bash command will do). I need to know whether any reverse alternative for any search commands actually exists.
If you want to search in a parent directory you should use "../" as the path. And then exclude the folder you are in.
Maybe something linke this? (Assume that you are in "currentfolder" when running the command.
find ../ -iname "file" -not -path "../currentfolder/*"
This will search the parent folder and subfolders in those. I kinda think the best way is to seach from the top, and im not sure there are other ways.