Sample Header Ad - 728x90

I need a standard way of expressing as a wildcard expression a set of subdirectories of a top level directory all with the same name

3 votes
3 answers
847 views
I don't know if such a standard exists, but I thought I'd ask the question. Is there a way to express the following as a wildcard expression: all subdirectories named 'process' residing under a top level directory at any level of nesting? so I want to include top/process top/sub1/process top/sub2/process top/sub1/sub2/sub98/process etc. I do not want any directories named process that are not nested under top. **UPDATE**: I should have explained my use case originally. It is not a **command** I issue from a shell or other way. It is a **list** I provide to an outside vendor - in this case IDrive - for their listing of files to exclude from backup. I don't know what syntax they use, and I had a devil of a time explaining it to their tech support, who were actually pretty good. Not a simple problem.
Asked by Steve Cohen (519 rep)
Jun 22, 2025, 10:03 PM
Last activity: Jun 28, 2025, 06:36 AM