List of all nested subfolders with a specific name

Posted by shawn on Super User See other posts from Super User or by shawn
Published on 2010-06-03T14:30:05Z Indexed on 2010/06/03 14:35 UTC
Read the original article Hit count: 199

Filed under:

How to get a list of all the subfolders with a specific name e.g. all the folders which their name contains 'NAME'

I know:

find . | grep *NAME*

but this won't give me a unique list (if the folder has subfolders it gets listed multiple times)

© Super User or respective owner

Related posts about linux