Need help with linux: how to find all folders located in : /home/folder1 /home/folders /home/folderrere /home/folder2 /home/foldersadad as you can see all those folders have similar structure but those folder have some subfolder which I dont want to list basically I need to use command : find and find all those folders
not the most efficient, but off the top of my head: find / -type d | xargs grep folder Code (markup):
folder is not present in every name, I just write it down to make it more clear which folder we need to find