# .cwl workflow find file in subdirectories of an input directory

**URL:** <https://cwl.discourse.group/t/cwl-workflow-find-file-in-subdirectories-of-an-input-directory/191>\
**Category:** CWL Questions\
**Created:** [August 19, 2020, 1:21pm UTC](https://cwl.discourse.group/t/cwl-workflow-find-file-in-subdirectories-of-an-input-directory/191 "2020-08-19T13:21:00Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Brilator](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/brilator/32/565_2.png) [@Brilator](https://cwl.discourse.group/u/Brilator)\
**Post date:** [July 3, 2024, 7:12am UTC](https://cwl.discourse.group/t/cwl-workflow-find-file-in-subdirectories-of-an-input-directory/191/8 "2024-07-03T07:12:17Z")

</div>

Ok, I see. Well, I don’t have to start with the parent directory. I was just hoping to be able to cover the full analysis via CWL in its context together with the input data as-is.

The alternative would be to write bash for loops to go through the nested directories (which again I could wrap as a CWL workflow step).

Thanks for the input!

---

_[View the full topic](https://cwl.discourse.group/t/cwl-workflow-find-file-in-subdirectories-of-an-input-directory/191)._
