1

Given a directory structure such as:

dev/project1/assets/**
dev/project2/assets/**
dev/project3/assets/**

Is it possible to search, from within the dev directory all assets directories only. Given that the project directories will include other sub-directories. I don't want to have to explicitly name each project directory. But something like search on /*/*/assets. So x directories deep, with a given name.

  • 1
    What's wrong with using a glob e.g. from dev run ag pattern */assets ? – don_crissti Oct 23 '17 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.