Printing file paths using bash
<p>I am a student learning bash. I am currently trying to print a series of absolute file paths to run additional scripts with.</p>

<p>Currently <code>echo $PWD, *In</code> does not work.
My file structure looks like.</p>

<pre><code>/home/hayden/myProject/gene
</code></pre>

<p>within this directory there are several folders but I am specifically interested in three.</p>

<pre><code>/largeIn/
/mediumIn/
/smallIn/
</code></pre>

<p>Within these folders there are differently named files that all end with <code>.fa</code>.</p>

<p>Is there a simple way to extract the files paths to a txt file?</p>

<p>to looks like this</p>

<pre><code>/home/hayden/myProject/gene/largeIn/file.fa
/home/hayden/myProject/gene/mediumIn/file.fa
/home/hayden/myProject/gene/smallIn/file.fa
</code></pre>

<p>Thank you</p>

<p>EDIT: @Afle solution was successful.</p>